Monotone-Parent: 391c86af1611daea47437aa67b055b9da54ab6a5

Monotone-Revision: 53884258a5614708a5c6c71e0b9067398269d479

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-29T21:59:40
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-06-29 21:59:40 +00:00
parent 5994a10d8c
commit aad469d8e0
2 changed files with 12 additions and 3 deletions
+4
View File
@@ -1,5 +1,9 @@
2007-06-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m
([SOGoAppointmentFolder -folderIsMandatory]): returns YES since
users must have one Calendar folder (one and only one).
* SoObjects/SOGo/SOGoFolder.m ([SOGoFolder -ocsFolder]): new
method that create the folder if considered mandatory.
([SOGoFolder -folderIsMandatory]): new method that determines
@@ -111,6 +111,11 @@ static NSNumber *sharedYes = nil;
return logger;
}
- (BOOL) folderIsMandatory
{
return YES;
}
/* selection */
- (NSArray *) calendarUIDs
@@ -745,12 +750,12 @@ static NSNumber *sharedYes = nil;
privacySqlString
= [NSString stringWithFormat:
@"(%@(orgmail = '%@')"
@" or ((partmails caseInsensitiveLike '%@%%'"
@" or partmails caseInsensitiveLike '%%\\n%@%%')))",
@" or ((partmails caseInsensitiveLike '%@%%'"
@" or partmails caseInsensitiveLike '%%\n%@%%')))",
[self _privacyClassificationStringsForUID: login],
email, email, email];
}
return privacySqlString;
}