mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-24 11:24:17 +00:00
Monotone-Parent: 0d9f18d50e83859175eb80a24a1db2cb24a748e2
Monotone-Revision: 7dc4694487f6ed68847c7c82ec9cbd6abc7cd6bb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-08T23:04:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -61,7 +61,7 @@ static NSString *defaultUserID = @"<default>";
|
||||
{
|
||||
id newFolder;
|
||||
NSArray *elements, *pathElements;
|
||||
NSString *ocsPath, *objectPath, *login, *ocsName, *folderName;
|
||||
NSString *path, *objectPath, *login, *ocsName, *folderName;
|
||||
|
||||
elements = [reference componentsSeparatedByString: @":"];
|
||||
login = [elements objectAtIndex: 0];
|
||||
@@ -72,12 +72,11 @@ static NSString *defaultUserID = @"<default>";
|
||||
else
|
||||
ocsName = @"personal";
|
||||
|
||||
ocsPath = [NSString stringWithFormat: @"/Users/%@/%@/%@",
|
||||
login, [pathElements objectAtIndex: 0], ocsName];
|
||||
path = [NSString stringWithFormat: @"/Users/%@/%@/%@",
|
||||
login, [pathElements objectAtIndex: 0], ocsName];
|
||||
folderName = [NSString stringWithFormat: @"%@_%@", login, ocsName];
|
||||
newFolder = [[self alloc] initWithName: folderName
|
||||
inContainer: aContainer];
|
||||
[newFolder setOCSPath: ocsPath];
|
||||
newFolder = [self objectWithName: folderName inContainer: aContainer];
|
||||
[newFolder setOCSPath: path];
|
||||
[newFolder setOwner: login];
|
||||
|
||||
return newFolder;
|
||||
|
||||
Reference in New Issue
Block a user