Monotone-Parent: 841f4e0f7b8c42d31d853c73f76ede6b5aad76e9

Monotone-Revision: 5f77c4d42b039780b9479f2cc6f1904662a55f87

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-09-06T21:10:51
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-09-06 21:10:51 +00:00
parent 3964cc04d5
commit c00d1c8018
2 changed files with 12 additions and 12 deletions

View File

@ -357,15 +357,15 @@
[attendees removePerson: organizer];
if ([attendees count])
{
iCalEvent *canceledApt;
iCalEvent *cancelledApt;
canceledApt = [newApt copy];
[(iCalCalendar *) [canceledApt parent] setMethod: @"cancel"];
cancelledApt = [newApt copy];
[(iCalCalendar *) [cancelledApt parent] setMethod: @"cancel"];
[self sendEMailUsingTemplateNamed: @"Removal"
forOldObject: nil
andNewObject: canceledApt
andNewObject: cancelledApt
toAttendees: attendees];
[canceledApt release];
[cancelledApt release];
}
}
@ -411,7 +411,7 @@
attendees = [NSMutableArray arrayWithArray:[apt attendees]];
[attendees removePerson:[apt organizer]];
/* flag appointment as being canceled */
/* flag appointment as being cancelled */
[(iCalCalendar *) [apt parent] setMethod: @"cancel"];
[apt increaseSequence];

View File

@ -376,15 +376,15 @@ static NSString *mailTemplateDefaultLanguage = nil;
// attendees = [NSMutableArray arrayWithArray:[changes deletedAttendees]];
// [attendees removePerson: organizer];
// if ([attendees count]) {
// iCalToDo *canceledApt;
// iCalToDo *cancelledApt;
// canceledApt = [newApt copy];
// [(iCalCalendar *) [canceledApt parent] setMethod: @"cancel"];
// cancelledApt = [newApt copy];
// [(iCalCalendar *) [cancelledApt parent] setMethod: @"cancel"];
// [self sendEMailUsingTemplateNamed: @"Removal"
// forOldObject: nil
// andNewObject: canceledApt
// andNewObject: cancelledApt
// toAttendees: attendees];
// [canceledApt release];
// [cancelledApt release];
// }
// }
@ -428,7 +428,7 @@ static NSString *mailTemplateDefaultLanguage = nil;
attendees = [NSMutableArray arrayWithArray:[task attendees]];
[attendees removePerson:[task organizer]];
/* flag task as being canceled */
/* flag task as being cancelled */
[(iCalCalendar *) [task parent] setMethod: @"cancel"];
[task increaseSequence];