From 3d698d0f91ec0f79d92b0030a637d449d075c38c Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 20 Jul 2010 18:46:08 +0000 Subject: [PATCH] Monotone-Parent: 2093fd32a32150f9c5060bac5619eea2dbc2f08d Monotone-Revision: 6a3c0d744d66748f11759bba747978f5e50b85d5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-07-20T18:46:08 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 ++++ UI/Contacts/UIxContactFoldersView.m | 36 ----------------------------- 2 files changed, 5 insertions(+), 36 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0c19e1db1..8a968aa3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-07-20 Wolfgang Sourdeau + + * UI/Contacts/UIxContactFoldersView.m (_subFoldersFromFolder:): + removed unused method. + 2010-07-16 Wolfgang Sourdeau * UI/Contacts/UIxContactEditor.m (-photosURL): copy of the method diff --git a/UI/Contacts/UIxContactFoldersView.m b/UI/Contacts/UIxContactFoldersView.m index 525a7044a..d1dc583aa 100644 --- a/UI/Contacts/UIxContactFoldersView.m +++ b/UI/Contacts/UIxContactFoldersView.m @@ -246,42 +246,6 @@ return result; } -- (NSArray *) _subFoldersFromFolder: (SOGoParentFolder *) parentFolder -{ - NSMutableArray *folders; - NSEnumerator *subfolders; - SOGoGCSFolder *subfolder; - NSString *folderName; - NSMutableDictionary *currentDictionary; - SoSecurityManager *securityManager; - - securityManager = [SoSecurityManager sharedSecurityManager]; - - folders = [NSMutableArray array]; - - subfolders = [[parentFolder subFolders] objectEnumerator]; - while ((subfolder = [subfolders nextObject])) - { - if (![securityManager validatePermission: SOGoPerm_AccessObject - onObject: subfolder inContext: context]) - { - folderName = [NSString stringWithFormat: @"/%@/%@", - [parentFolder nameInContainer], - [subfolder nameInContainer]]; - currentDictionary - = [NSMutableDictionary dictionaryWithCapacity: 3]; - [currentDictionary setObject: [subfolder displayName] - forKey: @"displayName"]; - [currentDictionary setObject: folderName forKey: @"name"]; - [currentDictionary setObject: [subfolder folderType] - forKey: @"type"]; - [folders addObject: currentDictionary]; - } - } - - return folders; -} - - (void) checkDefaultModulePreference { SOGoUserDefaults *ud;