mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-26 00:43:22 +00:00
Monotone-Parent: d4ec4c64b7bfb4975be1924516e870493eb766a2
Monotone-Revision: 64bb41288f025d8a85a54ff9d3fa322dc9a6f5bd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-28T17:19:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -135,7 +135,6 @@ static SaxObjectDecoder *sax = nil;
|
||||
|
||||
- (NSException *)writeNewVEvents:(NSArray *)_events {
|
||||
SOGoAppointmentFolder *folder;
|
||||
iCalRenderer *renderer;
|
||||
NSException *error;
|
||||
unsigned i, count;
|
||||
|
||||
@@ -144,15 +143,13 @@ static SaxObjectDecoder *sax = nil;
|
||||
reason:@"did not find clientObject?!"];
|
||||
}
|
||||
|
||||
renderer = [iCalRenderer sharedICalendarRenderer];
|
||||
|
||||
for (i = 0, count = [_events count]; i < count; i++) {
|
||||
SOGoAppointmentObject *object;
|
||||
iCalEvent *event;
|
||||
NSString *ical;
|
||||
|
||||
event = [_events objectAtIndex:i];
|
||||
ical = [renderer iCalendarStringForEvent:event];
|
||||
ical = [event versitString];
|
||||
|
||||
if (![ical isNotNull] && ([ical length] == 0)) {
|
||||
[self logWithFormat:@"ERROR: got no ical representation of event: %@",
|
||||
|
||||
Reference in New Issue
Block a user