See ChangeLog.

Monotone-Parent: 5768aec2a733241a4cb94db69e98b57603adb638
Monotone-Revision: 553f303f1f7a6910069af8e49e3926e86bece4b7

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-03-29T23:25:40
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle committed 2011-03-29 23:25:40 +00:00
1 parent eea9b8b91d
commit 6b3d99424a
8 files changed
+135 -55

No files matched your search

+7 -10
View File
@@ -564,9 +564,9 @@
[self expandGroupsInEvent: newEvent];
// We first save the event. It is important to this initially
// as the event's UID might get modified in SOGoCalendarComponent: -saveComponent:
[super saveComponent: newEvent];
// We first update the event. It is important to this initially
// as the event's UID might get modified.
[super updateComponent: newEvent];
if ([self isNew])
{
@@ -606,15 +606,12 @@
hasOrganizer = [[[oldMasterEvent organizer] email] length];
if (!hasOrganizer || [oldMasterEvent userIsOrganizer: ownerUser])
{
// The owner is the organizer of the event; handle the modifications
[self _handleUpdatedEvent: newEvent fromOldEvent: oldEvent];
// The sequence has possibly been increased -- resave the event.
[super saveComponent: newEvent];
}
// The owner is the organizer of the event; handle the modifications
[self _handleUpdatedEvent: newEvent fromOldEvent: oldEvent];
}
[super saveComponent: newEvent];
[fullCalendar release];
fullCalendar = nil;
[safeCalendar release];