From 905b06d09aa4f5e373ab536d140d01762f52dfe3 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 18 Nov 2010 22:25:38 +0000 Subject: [PATCH] Monotone-Parent: 2fee91accf9f3901e90b072dfcad7295be80e62d Monotone-Revision: 407f3336a48867f196919a047ff49880ab359f19 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-11-18T22:25:38 Monotone-Branch: ca.inverse.sogo --- OpenChange/MAPIStoreCalendarContext.m | 11 ++--------- OpenChange/MAPIStoreTasksContext.m | 11 ++--------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/OpenChange/MAPIStoreCalendarContext.m b/OpenChange/MAPIStoreCalendarContext.m index 97e7f51d0..761ec4557 100644 --- a/OpenChange/MAPIStoreCalendarContext.m +++ b/OpenChange/MAPIStoreCalendarContext.m @@ -38,21 +38,14 @@ #undef DEBUG #include -static Class SOGoUserFolderK; - @implementation MAPIStoreCalendarContext -+ (void) initialize -{ - SOGoUserFolderK = [SOGoUserFolder class]; -} - - (void) setupModuleFolder { id userFolder; - userFolder = [SOGoUserFolderK objectWithName: [authenticator username] - inContainer: MAPIApp]; + userFolder = [SOGoUserFolder objectWithName: [authenticator username] + inContainer: MAPIApp]; [woContext setClientObject: userFolder]; [userFolder retain]; // LEAK diff --git a/OpenChange/MAPIStoreTasksContext.m b/OpenChange/MAPIStoreTasksContext.m index 28d01c2e6..ffb327e6c 100644 --- a/OpenChange/MAPIStoreTasksContext.m +++ b/OpenChange/MAPIStoreTasksContext.m @@ -36,21 +36,14 @@ #undef DEBUG #include -static Class SOGoUserFolderK; - @implementation MAPIStoreTasksContext -+ (void) initialize -{ - SOGoUserFolderK = [SOGoUserFolder class]; -} - - (void) setupModuleFolder { id userFolder; - userFolder = [SOGoUserFolderK objectWithName: [authenticator username] - inContainer: MAPIApp]; + userFolder = [SOGoUserFolder objectWithName: [authenticator username] + inContainer: MAPIApp]; [woContext setClientObject: userFolder]; [userFolder retain]; // LEAK