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]; }