diff --git a/ChangeLog b/ChangeLog index c35e36c60..ab02014d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-02-01 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoParentFolder.m (-removeSubFolder): new method + that removes a subfolder entry from the folder cache. + * OpenChange/MAPIApplication.m (-setUserContext:): do not retain the user context. diff --git a/SoObjects/SOGo/SOGoParentFolder.h b/SoObjects/SOGo/SOGoParentFolder.h index 278d94ac6..c0041879b 100644 --- a/SoObjects/SOGo/SOGoParentFolder.h +++ b/SoObjects/SOGo/SOGoParentFolder.h @@ -43,6 +43,7 @@ - (NSString *) defaultFolderName; - (NSException *) appendPersonalSources; +- (void) removeSubFolder: (NSString *) subfolderName; - (void) setBaseOCSPath: (NSString *) newOCSPath; diff --git a/SoObjects/SOGo/SOGoParentFolder.m b/SoObjects/SOGo/SOGoParentFolder.m index 08ecd35dd..58e19958b 100644 --- a/SoObjects/SOGo/SOGoParentFolder.m +++ b/SoObjects/SOGo/SOGoParentFolder.m @@ -361,6 +361,11 @@ static SoSecurityManager *sm = nil; return error; } +- (void) removeSubFolder: (NSString *) subfolderName +{ + [subFolders removeObjectForKey: subfolderName]; +} + - (NSException *) initSubscribedSubFolders { NSException *error;