(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

+23
View File
@@ -301,6 +301,29 @@ static NSArray *childRecordFields = nil;
return name;
}
- (BOOL) synchronize
{
NSNumber *synchronize;
synchronize = [self folderPropertyValueInCategory: @"FolderSynchronize"];
return [synchronize boolValue];
}
- (void) setSynchronize: (BOOL) new
{
NSNumber *synchronize;
if (new)
synchronize = [NSNumber numberWithBool: YES];
else
synchronize = nil;
[self setFolderPropertyValue: synchronize
inCategory: @"FolderSynchronize"];
}
/* This method fetches the display name defined by the owner, but is also the
fallback when a subscriber has not redefined the display name yet in their
environment. */