Monotone-Parent: c818bd7fb6cf31cc71d77656fd51138b3237c073

Monotone-Revision: 99c8c58678885e800d0e6a30a23a2de8bd56adab

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-08T15:28:08
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-08 15:28:08 +00:00
parent 7b1cd90d5b
commit 1890394605
2 changed files with 5 additions and 6 deletions
+5
View File
@@ -1,5 +1,10 @@
2006-09-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* 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.
-6
View File
@@ -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];
}