Canceling calendar events should deactivate the event

Summary: Closes T7943, Canceling calendar event should deactivate the event instead of destroying data.

Test Plan: Create an event, cancel it, see changed status icon, query for active events, event should not appear, query for deactivated events, event should appear in results.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7943

Differential Revision: https://secure.phabricator.com/D12604
This commit is contained in:
lkassianik
2015-04-29 08:39:39 -07:00
parent 6575cc568d
commit 0f914afda9
13 changed files with 211 additions and 68 deletions

View File

@@ -19,7 +19,6 @@ final class PhabricatorCalendarEventEditController
$error_name = true;
$validation_exception = null;
$start_time = id(new AphrontFormDateControl())
->setUser($user)
->setName('start')