From ad06ce1c30902b7ed93263c0d8c151715ae64a4b Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 11 Nov 2008 02:08:03 +0000 Subject: [PATCH] We disable our observers for now. Monotone-Parent: e74038b8c915f22e294a5efbc419eef439f81d21 Monotone-Revision: 333349da689a5bd3ef8d70e672d7b0c0d29497a2 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-11-11T02:08:03 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoCache.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SoObjects/SOGo/SOGoCache.m b/SoObjects/SOGo/SOGoCache.m index da0cf651b..3ca3e76b9 100644 --- a/SoObjects/SOGo/SOGoCache.m +++ b/SoObjects/SOGo/SOGoCache.m @@ -78,6 +78,7 @@ static SOGoCache *sharedCache = nil; users = [NSMutableDictionary new]; // We register ourself for notifications +#if 0 [[NSDistributedNotificationCenter defaultCenter] addObserver: self selector: @selector(_userDefaultsHaveChanged:) @@ -89,6 +90,7 @@ static SOGoCache *sharedCache = nil; selector: @selector(_userSettingsHaveChanged:) name: @"SOGoUserSettingsHaveChanged" object: nil]; +#endif // We fire our timer that will cleanup cache entries cleanupSetting = [[NSUserDefaults standardUserDefaults]