From 48d1736fe4de45ee647a8199faff82a4a5446d39 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 27 Apr 2007 19:02:01 +0000 Subject: [PATCH] Monotone-Parent: fb501e7e2cefb4d9f994a50f5062b53d25b4aa3f Monotone-Revision: d75f311111aa7cbdf9ecf2de1168ceb2651e77bd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-27T19:02:01 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoUser.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index 253b1e715..e6c5a498e 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -185,10 +185,8 @@ static NSTimeZone *serverTimeZone = nil; timeZoneName = [[self userDefaults] stringForKey: @"TimeZone"]; if ([timeZoneName length] > 0) userTimeZone = [NSTimeZone timeZoneWithName: timeZoneName]; - else - userTimeZone = nil; if (!userTimeZone) - userTimeZone = [self serverTimeZone]; + userTimeZone = serverTimeZone; [userTimeZone retain]; }