summaryrefslogtreecommitdiff
path: root/app/Subscriber
diff options
context:
space:
mode:
authorMichael Lüpkes <michael@luepkes.net>2015-01-13 11:42:49 +0100
committerMichael Lüpkes <michael@luepkes.net>2015-01-13 11:42:49 +0100
commit34bbdaeac8c407a97a611cb858617eff3483dbb3 (patch)
treec6b76c98f667236e8a23b009c6d4980a58707e22 /app/Subscriber
parent81f3131bbc4eaabf8f7e2d8825e0ba45a5e1b507 (diff)
parent46fd893bd6728031d5f4118f952bf6cce5017965 (diff)
Merge remote-tracking branch 'upstream/master' into fguillot/kanboard
Diffstat (limited to 'app/Subscriber')
-rw-r--r--app/Subscriber/BootstrapSubscriber.php1
-rw-r--r--app/Subscriber/ProjectModificationDateSubscriber.php9
2 files changed, 2 insertions, 8 deletions
diff --git a/app/Subscriber/BootstrapSubscriber.php b/app/Subscriber/BootstrapSubscriber.php
index e256159a..35d0eff9 100644
--- a/app/Subscriber/BootstrapSubscriber.php
+++ b/app/Subscriber/BootstrapSubscriber.php
@@ -11,6 +11,7 @@ class BootstrapSubscriber extends Base implements EventSubscriberInterface
return array(
'session.bootstrap' => array('setup', 0),
'api.bootstrap' => array('setup', 0),
+ 'console.bootstrap' => array('setup', 0),
);
}
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),
);
}