mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-25 16:33:22 +00:00
Monotone-Parent: e0d6bca914a4da0940a671160d74b221a1596487
Monotone-Revision: 2b72439bcc17ba4d9a4c37701d8a818e14887487 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-08-24T20:38:36 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1029,7 +1029,7 @@ static NSNumber *sharedYes = nil;
|
||||
calendarFolder = [SOGoAppointmentFolder objectWithName: @"Calendar"
|
||||
inContainer: userFolder];
|
||||
[calendarFolder
|
||||
setOCSPath: [NSString stringWithFormat: @"/Users/%@/Calendar", uid]];
|
||||
setOCSPath: [NSString stringWithFormat: @"/Users/%@/Calendar/personal", uid]];
|
||||
[calendarFolder setOwner: uid];
|
||||
|
||||
return calendarFolder;
|
||||
@@ -1303,9 +1303,11 @@ static NSNumber *sharedYes = nil;
|
||||
NSMutableArray *newPath;
|
||||
|
||||
newPath = [NSMutableArray arrayWithArray: objectPath];
|
||||
if ([newPath count] > 2
|
||||
&& ![[newPath objectAtIndex: 2] isEqualToString: @"personal"])
|
||||
[newPath insertObject: @"personal" atIndex: 2];
|
||||
if ([newPath count] > 2)
|
||||
{
|
||||
if (![[newPath objectAtIndex: 2] isEqualToString: @"personal"])
|
||||
[newPath insertObject: @"personal" atIndex: 2];
|
||||
}
|
||||
else
|
||||
[newPath addObject: @"personal"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user