mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 22:05:23 +00:00
Monotone-Parent: 16bafd35c923b43175977acf723114a90f37d677
Monotone-Revision: ff35c4a69655239a569e90ab2fcc971a46c7b83f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-07-11T17:26:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
- (void) dealloc
|
||||
{
|
||||
[item release];
|
||||
[event release];
|
||||
[aptStartDate release];
|
||||
[aptEndDate release];
|
||||
[super dealloc];
|
||||
@@ -91,7 +92,7 @@
|
||||
hm = [self queryParameterForKey: @"hm"];
|
||||
|
||||
return (isAllDay
|
||||
|| (hm && [hm isEqualToString: @"allday"]));
|
||||
|| [hm isEqualToString: @"allday"]);
|
||||
}
|
||||
|
||||
- (void) setIsAllDay: (BOOL) newIsAllDay
|
||||
@@ -137,7 +138,7 @@
|
||||
int hour;
|
||||
|
||||
newStartDate = [self selectedDate];
|
||||
if ([[self queryParameterForKey: @"hm"] length] == 0)
|
||||
if (![[self queryParameterForKey: @"hm"] length])
|
||||
{
|
||||
now = [NSCalendarDate calendarDate];
|
||||
timeZone = [[context activeUser] timeZone];
|
||||
@@ -202,7 +203,7 @@
|
||||
|
||||
co = [self clientObject];
|
||||
objectId = [co globallyUniqueObjectId];
|
||||
if ([objectId length] > 0)
|
||||
if ([objectId length])
|
||||
{
|
||||
method = [NSString stringWithFormat:@"%@/%@.ics/editAsAppointment",
|
||||
[co soURL], objectId];
|
||||
|
||||
Reference in New Issue
Block a user