(feat) moved FolderSynchronize code to GCS

Conflicts:

	SoObjects/Appointments/SOGoAppointmentFolder.h
This commit is contained in:
Ludovic Marcotte committed 2015-11-04 09:55:02 -05:00
1 parent 1fab2028e2
commit 39601a9cf9
5 files changed
+52 -3

No files matched your search

+11 -1
View File
@@ -99,7 +99,7 @@ _intValueFromHex (NSString *hexString)
NSNumber *isActive, *fActiveTasks;
SOGoAppointmentFolders *co;
SOGoAppointmentFolder *folder;
BOOL reloadOnLogin;
BOOL reloadOnLogin, synchronize;
if (!calendars)
{
@@ -133,6 +133,16 @@ _intValueFromHex (NSString *hexString)
[calendar setObject: [NSNumber numberWithBool: [folder showCalendarAlarms]] forKey: @"showCalendarAlarms"];
[calendar setObject: [NSNumber numberWithBool: [folder showCalendarTasks]] forKey: @"showCalendarTasks"];
if ([folder isKindOfClass: [SOGoWebAppointmentFolder class]])
synchronize = NO;
else
synchronize = [folder synchronize];
if ([[folder nameInContainer] isEqualToString: @"personal"])
synchronize = YES;
[calendar setObject: [NSNumber numberWithBool: synchronize] forKey: @"synchronize"];
if ([folder isWebCalendar])
{
urls = [NSMutableDictionary dictionaryWithObject: [folder folderPropertyValueInCategory: @"WebCalendars"]