mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
See ChangeLog
Monotone-Parent: 467ec5f1f0997ec12a4adbf6bc501ee81735cbdb Monotone-Revision: 9641487ae73aa57f2e0f1a17a9b0f485143a6423 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-11-11T23:03:46 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-11-11 Ludovic Marcotte <lmarcotte@inverse.ca>
|
||||
|
||||
* Fixed a couple of issues in the new pref caching
|
||||
subsystem.
|
||||
|
||||
2008-10-29 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoUser.m ([-userDefaults]): added support for
|
||||
|
||||
@@ -208,10 +208,12 @@ static SOGoCache *sharedCache = nil;
|
||||
d = [[NSMutableDictionary alloc] init];
|
||||
[d addEntriesFromDictionary: [theNotification userInfo]];
|
||||
|
||||
user = [d objectForKey: @"uid"];
|
||||
user = [d objectForKey: @"uid"];
|
||||
[user retain];
|
||||
[d removeObjectForKey: @"uid"];
|
||||
|
||||
[SOGoUser setUserDefaultsFromDictionary: d user: user];
|
||||
[user release];
|
||||
[d release];
|
||||
}
|
||||
|
||||
@@ -223,10 +225,12 @@ static SOGoCache *sharedCache = nil;
|
||||
d = [[NSMutableDictionary alloc] init];
|
||||
[d addEntriesFromDictionary: [theNotification userInfo]];
|
||||
|
||||
user = [d objectForKey: @"uid"];
|
||||
user = [d objectForKey: @"uid"];
|
||||
[user retain];
|
||||
[d removeObjectForKey: @"uid"];
|
||||
|
||||
[SOGoUser setUserSettingsFromDictionary: d user: user];
|
||||
[user release];
|
||||
[d release];
|
||||
}
|
||||
|
||||
@@ -267,7 +271,7 @@ static SOGoCache *sharedCache = nil;
|
||||
|
||||
if ([now earlierDate: [currentEntry objectForKey: @"cleanupDate"]] == now)
|
||||
{
|
||||
[SOGoUser setUserDefaultsFromDictionary: nil user: currentID];
|
||||
[SOGoUser setUserSettingsFromDictionary: nil user: currentID];
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -541,7 +541,7 @@ _timeValue (NSString *key)
|
||||
|
||||
+ (NSDictionary *) userSettingsCache
|
||||
{
|
||||
return userDefaults;
|
||||
return userSettings;
|
||||
}
|
||||
|
||||
- (NSUserDefaults *) userSettings
|
||||
|
||||
Reference in New Issue
Block a user