From 0f86d78f22c7640ed5a0020e73e7312d162ecb57 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Sat, 23 Apr 2016 14:11:38 -0400 Subject: [PATCH] (fix) removed old code --- UI/Scheduler/UIxTaskEditor.m | 69 ------------------------------------ 1 file changed, 69 deletions(-) diff --git a/UI/Scheduler/UIxTaskEditor.m b/UI/Scheduler/UIxTaskEditor.m index 3a7300151..e4bbad5c9 100644 --- a/UI/Scheduler/UIxTaskEditor.m +++ b/UI/Scheduler/UIxTaskEditor.m @@ -592,75 +592,6 @@ return [self responseWithStatus: 200 andJSONRepresentation: data]; } -// - (BOOL) shouldTakeValuesFromRequest: (WORequest *) request -// inContext: (WOContext*) context -// { -// NSString *actionName; - -// actionName = [[request requestHandlerPath] lastPathComponent]; - -// return ([[self clientObject] conformsToProtocol: @protocol (SOGoComponentOccurence)] -// && [actionName hasPrefix: @"save"]); -// } - -// - (void) takeValuesFromRequest: (WORequest *) _rq -// inContext: (WOContext *) _ctx -// { -// SOGoUserDefaults *ud; -// iCalTimeZone *tz; -// iCalToDo *todo; - -// todo = [self todo]; - -// [super takeValuesFromRequest: _rq inContext: _ctx]; - -// if (hasStartDate) -// [todo setStartDate: taskStartDate]; -// else -// { -// [todo setStartDate: nil]; -// [todo removeAllAlarms]; -// } - -// if (hasDueDate) -// [todo setDue: taskDueDate]; -// else -// [todo setDue: nil]; - -// if ([status isEqualToString: @"COMPLETED"]) -// [todo setCompleted: statusDate]; -// else -// [todo setCompleted: nil]; -// if ([status length] > 0) -// { -// [todo setStatus: status]; -// [todo setPercentComplete: statusPercent]; -// } -// else -// { -// [todo setStatus: @""]; -// [todo setPercentComplete: @""]; -// } - -// if ([[self clientObject] isNew]) -// { -// ud = [[context activeUser] userDefaults]; -// tz = [iCalTimeZone timeZoneForName: [ud timeZoneName]]; - -// if (hasStartDate || hasDueDate) -// { -// [[todo parent] addTimeZone: tz]; -// } - -// if (hasStartDate) -// [(iCalDateTime *)[todo uniqueChildWithTag: @"dtstart"] setTimeZone: tz]; - -// if (hasDueDate) -// [(iCalDateTime *)[todo uniqueChildWithTag: @"due"] setTimeZone: tz]; -// } - -// } - - (id) changeStatusAction { NSString *newStatus;