From 0ea6f9f468e4307ef2b65a2a1182b60a5cbe45a8 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Fri, 5 Dec 2008 01:20:59 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: a9f8f863ba0feb17a87ae1239a496d8cd5ab18df Monotone-Revision: 12ed84168f6783b4fa69a1d4907b40a7e5ca0946 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-12-05T01:20:59 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/SOGoCache.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index edbca8933..e66008742 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-04 Ludovic Marcotte + + * Fixed a typ in SoObjects/SOGo/SOGoCache.m + that would lead to a crash + 2008-12-03 Francis Lachapelle * UI/MailPartViewers/UIxMailPartICalViewer.m diff --git a/SoObjects/SOGo/SOGoCache.m b/SoObjects/SOGo/SOGoCache.m index 2bc62fe5e..ed9f65611 100644 --- a/SoObjects/SOGo/SOGoCache.m +++ b/SoObjects/SOGo/SOGoCache.m @@ -248,7 +248,7 @@ static SOGoCache *sharedCache = nil; if ((user = [users objectForKey: uid])) { [[user userDefaults] setValues: [[theNotification userInfo] objectForKey: @"values"]]; - [self setCachedUserDefaults: [user userDefaults] forKey: uid]; + [SOGoCache setCachedUserDefaults: (SOGoUserDefaults*)[user userDefaults] user: uid]; } else { @@ -266,7 +266,7 @@ static SOGoCache *sharedCache = nil; if ((user = [users objectForKey: uid])) { [[user userSettings] setValues: [[theNotification userInfo] objectForKey: @"values"]]; - [self setCachedUserSettings: [user userSettings] forKey: uid]; + [SOGoCache setCachedUserSettings: (SOGoUserDefaults *)[user userSettings] user: uid]; } else {