mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-23 13:59:32 +00:00
Monotone-Parent: 8a9b77b9c41a41491783c3507d9b85c3555500a3
Monotone-Revision: 7b44f54acaa78763162cefc160fada0303ee1d95 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-05T01:53:01 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2008-08-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoCalendarComponent.m
|
||||
([SOGoCalendarComponent -calendar:create:secure]): we now return a
|
||||
deep copy of the current calendar element, so that further
|
||||
modifications do not impact the original copy.
|
||||
|
||||
* SoObjects/SOGo/SOGoUser.m ([SOGoUser +initialize]): same as
|
||||
below.
|
||||
|
||||
|
||||
@@ -328,7 +328,7 @@ _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID)
|
||||
{
|
||||
NSString *componentTag;
|
||||
iCalRepeatableEntityObject *newComponent;
|
||||
iCalCalendar **calendar;
|
||||
iCalCalendar **calendar, *returnedCopy;
|
||||
NSString *iCalString;
|
||||
|
||||
if (secure)
|
||||
@@ -365,7 +365,10 @@ _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID)
|
||||
}
|
||||
}
|
||||
|
||||
return *calendar;
|
||||
returnedCopy = [*calendar mutableCopy];
|
||||
[returnedCopy autorelease];
|
||||
|
||||
return returnedCopy;
|
||||
}
|
||||
|
||||
- (id) component: (BOOL) create secure: (BOOL) secure
|
||||
|
||||
Reference in New Issue
Block a user