summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-10 15:03:42 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-10 15:03:42 -0500
commitb1e484fad6c6d77ea23c391212bd705805f2284e (patch)
treea4bee4516c8c66bf8e6b5ea1df582816f11edcda /app
parentb470b6726074b3f6b773bf1a28569c39a4cb7db1 (diff)
Change events for project modification subscriber
Diffstat (limited to 'app')
-rw-r--r--app/Subscriber/ProjectModificationDateSubscriber.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Subscriber/ProjectModificationDateSubscriber.php b/app/Subscriber/ProjectModificationDateSubscriber.php
index cd83f370..4c5380ff 100644
--- a/app/Subscriber/ProjectModificationDateSubscriber.php
+++ b/app/Subscriber/ProjectModificationDateSubscriber.php
@@ -4,7 +4,6 @@ namespace Subscriber;
use Event\GenericEvent;
use Model\Task;
-use Integration\GithubWebhook;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class ProjectModificationDateSubscriber extends Base implements EventSubscriberInterface
@@ -15,17 +14,11 @@ class ProjectModificationDateSubscriber extends Base implements EventSubscriberI
Task::EVENT_CREATE_UPDATE => array('execute', 0),
Task::EVENT_CLOSE => array('execute', 0),
Task::EVENT_OPEN => array('execute', 0),
+ Task::EVENT_MOVE_SWIMLANE => array('execute', 0),
Task::EVENT_MOVE_COLUMN => array('execute', 0),
Task::EVENT_MOVE_POSITION => array('execute', 0),
Task::EVENT_MOVE_PROJECT => array('execute', 0),
Task::EVENT_ASSIGNEE_CHANGE => array('execute', 0),
- GithubWebhook::EVENT_ISSUE_OPENED => array('execute', 0),
- GithubWebhook::EVENT_ISSUE_CLOSED => array('execute', 0),
- GithubWebhook::EVENT_ISSUE_REOPENED => array('execute', 0),
- GithubWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE => array('execute', 0),
- GithubWebhook::EVENT_ISSUE_LABEL_CHANGE => array('execute', 0),
- GithubWebhook::EVENT_ISSUE_COMMENT => array('execute', 0),
- GithubWebhook::EVENT_COMMIT => array('execute', 0),
);
}