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:
Ludovic Marcotte
2008-11-11 23:03:46 +00:00
parent 9c57907bcf
commit 74ed2d15e0
3 changed files with 13 additions and 4 deletions
+7 -3
View File
@@ -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++;
}
}