From 1890394605cb0a8a5a16fd1e87c953356031a586 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 8 Sep 2006 15:28:08 +0000 Subject: [PATCH] Monotone-Parent: c818bd7fb6cf31cc71d77656fd51138b3237c073 Monotone-Revision: 99c8c58678885e800d0e6a30a23a2de8bd56adab Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-08T15:28:08 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ SoObjects/SOGo/SOGoUserFolder.m | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 523c8becc..2f348ce12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-09-08 Wolfgang Sourdeau + * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder + -privateContacts:inContext:]): no long configure the calendar + object with the user's timezone since it's now accessible + application-wide throught the SOGoObject methods. + * UI/SOGoUI/UIxComponent.[hm]: removed the "viewTimeZone" ivar and method. Removed the "backendTimeZone" method. diff --git a/SoObjects/SOGo/SOGoUserFolder.m b/SoObjects/SOGo/SOGoUserFolder.m index ba88a954e..fc7b516df 100644 --- a/SoObjects/SOGo/SOGoUserFolder.m +++ b/SoObjects/SOGo/SOGoUserFolder.m @@ -88,8 +88,6 @@ - (id)privateCalendar:(NSString *)_key inContext:(id)_ctx { static Class calClass = Nil; id calendar; - NSUserDefaults *userPrefs; - NSTimeZone *timeZone; if (calClass == Nil) calClass = NSClassFromString(@"SOGoAppointmentFolder"); @@ -101,10 +99,6 @@ calendar = [[calClass alloc] initWithName:_key inContainer:self]; [calendar setOCSPath:[self ocsPrivateCalendarPath]]; - userPrefs = [[_ctx activeUser] userDefaults]; - timeZone = [NSTimeZone - timeZoneWithName: [userPrefs stringForKey: @"timezonename"]]; - [calendar setTimeZone: timeZone]; return [calendar autorelease]; }