Skip to content

Commit

Permalink
Improve settings cleanup when removing a calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Apr 26, 2016
1 parent 582baf2 commit 48e5816
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions SoObjects/Appointments/SOGoAppointmentFolder.m
Original file line number Diff line number Diff line change
Expand Up @@ -2944,6 +2944,18 @@ - (void) removeFolderSettings: (NSMutableDictionary *) moduleSettings
refDict = [moduleSettings objectForKey: @"FolderShowTasks"];
[refDict removeObjectForKey: reference];

refDict = [moduleSettings objectForKey: @"FolderSynchronize"];
[refDict removeObjectForKey: reference];

refDict = [moduleSettings objectForKey: @"NotifyOnExternalModifications"];
[refDict removeObjectForKey: reference];

refDict = [moduleSettings objectForKey: @"NotifyOnPersonalModifications"];
[refDict removeObjectForKey: reference];

refDict = [moduleSettings objectForKey: @"NotifyUserOnPersonalModifications"];
[refDict removeObjectForKey: reference];

refArray = [moduleSettings objectForKey: @"InactiveFolders"];
[refArray removeObject: nameInContainer];

Expand Down

0 comments on commit 48e5816

Please sign in to comment.