From 28f7997539cc4304a606612660ea754f957590f0 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 2 Feb 2012 01:42:02 +0000 Subject: [PATCH] Monotone-Parent: 392e0e0b68e0c3efba94a66ecf87596c3d6d967f Monotone-Revision: be64ce923b1780a6ed810e7250748d84ad4425bb Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-02T01:42:02 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/SOGo/SOGoParentFolder.h | 1 + SoObjects/SOGo/SOGoParentFolder.m | 5 +++++ 3 files changed, 9 insertions(+) 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;