diff --git a/ChangeLog b/ChangeLog index 3f7d0c27f..684ef4aae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-06-12 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoCalendarComponent.m + ([SOGoCalendarComponent -init]): "isNew" is no longer defined + here, but rather in its parent class. + * UI/SOGoUI/SOGoDateFormatter.m ([SOGoDateFormatter -stringForSecondsSinceThe70s:seconds]): new utility method. diff --git a/SoObjects/Appointments/SOGoCalendarComponent.h b/SoObjects/Appointments/SOGoCalendarComponent.h index 5675724bf..db0d4df99 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.h +++ b/SoObjects/Appointments/SOGoCalendarComponent.h @@ -38,13 +38,11 @@ { iCalCalendar *calendar; NSString *calContent; - BOOL isNew; } - (NSString *) componentTag; - (iCalCalendar *) calendar: (BOOL) create; - (iCalRepeatableEntityObject *) component: (BOOL) create; -- (BOOL) isNew; - (NSException *) primarySaveContentString: (NSString *) _iCalString; - (NSException *) primaryDelete; diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index f07444838..5f707b181 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -71,7 +71,6 @@ static BOOL sendEMailNotifications = NO; { calendar = nil; calContent = nil; - isNew = NO; } return self; @@ -183,7 +182,6 @@ static BOOL sendEMailNotifications = NO; newComponent = [[calendar classForTag: componentTag] groupWithTag: componentTag]; [calendar addChild: newComponent]; - isNew = YES; } } if (calendar) @@ -200,11 +198,6 @@ static BOOL sendEMailNotifications = NO; firstChildWithTag: [self componentTag]]; } -- (BOOL) isNew -{ - return isNew; -} - /* raw saving */ - (NSException *) primarySaveContentString: (NSString *) _iCalString