mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-05 05:18:51 +00:00
Monotone-Parent: 77ad8a694cd0c4e8f61d9c0ba6162d0d8340c0e7
Monotone-Revision: d102adf292e54c9c4f3572b83e38879d24b721d0 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-18T15:14:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-11-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoCache.m (-disableLocalCache): new method to
|
||||
disable the local cache altogether (helper for non-WO access).
|
||||
|
||||
2011-11-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreSamDBUtils.m: new module containing helpers
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
+ (SOGoCache *) sharedCache;
|
||||
|
||||
- (void) disableRequestsCache;
|
||||
- (void) disableLocalCache;
|
||||
|
||||
- (void) killCache;
|
||||
|
||||
|
||||
@@ -154,6 +154,12 @@ static memcached_st *handle = NULL;
|
||||
requestsCacheEnabled = NO;
|
||||
}
|
||||
|
||||
- (void) disableLocalCache
|
||||
{
|
||||
[localCache release];
|
||||
localCache = nil;
|
||||
}
|
||||
|
||||
- (void) killCache
|
||||
{
|
||||
[cache removeAllObjects];
|
||||
|
||||
Reference in New Issue
Block a user