Monotone-Parent: 509161891d714328d4a536f4225b69b69c8bf263

Monotone-Revision: 9c2ce4a1d58e648ee8b0bab68a7284e4b583962d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-15T20:32:59
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-07-15 20:32:59 +00:00
parent c6bc85973d
commit 736b4a4f4c
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,10 @@
2011-07-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreSOGo.m (sogo_backend_init): disable the use
of the requests cache as objects are retained by the mapistore as
needed.
* SoObjects/SOGo/SOGoCache.m (-disableRequestsCache): new method
that adds the ability to not put requests object in the cache.

View File

@ -27,6 +27,7 @@
#import <Foundation/NSUserDefaults.h>
#import <NGObjWeb/SoProductRegistry.h>
#import <NGExtensions/NSObject+Logs.h>
#import <SOGo/SOGoCache.h>
#import <SOGo/SOGoProductLoader.h>
#import <SOGo/SOGoSystemDefaults.h>
@ -84,6 +85,8 @@ sogo_backend_init (void)
if (MAPIApplicationK)
[MAPIApplicationK new];
[[SOGoCache sharedCache] disableRequestsCache];
[pool release];
return MAPISTORE_SUCCESS;