mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-25 16:33:22 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user