summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/EventDispatcherProvider.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-10 15:15:58 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-10 15:15:58 -0400
commitbd3c44c3d337d49b02e19da0c6baed1a4abec37b (patch)
tree95156ad897763e6739e4db582fa10a8a371ea86b /app/ServiceProvider/EventDispatcherProvider.php
parentc9dcd7061708114c72c0c7d80d108661308b1e50 (diff)
Recurring tasks (#847): move hardcoded conditions to event subscriber + refactoring
Diffstat (limited to 'app/ServiceProvider/EventDispatcherProvider.php')
-rw-r--r--app/ServiceProvider/EventDispatcherProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ServiceProvider/EventDispatcherProvider.php b/app/ServiceProvider/EventDispatcherProvider.php
index f002db74..f566ede8 100644
--- a/app/ServiceProvider/EventDispatcherProvider.php
+++ b/app/ServiceProvider/EventDispatcherProvider.php
@@ -15,6 +15,7 @@ use Subscriber\WebhookSubscriber;
use Subscriber\SubtaskTimesheetSubscriber;
use Subscriber\TaskMovedDateSubscriber;
use Subscriber\TransitionSubscriber;
+use Subscriber\RecurringTaskSubscriber;
class EventDispatcherProvider implements ServiceProviderInterface
{
@@ -31,6 +32,7 @@ class EventDispatcherProvider implements ServiceProviderInterface
$container['dispatcher']->addSubscriber(new SubtaskTimesheetSubscriber($container));
$container['dispatcher']->addSubscriber(new TaskMovedDateSubscriber($container));
$container['dispatcher']->addSubscriber(new TransitionSubscriber($container));
+ $container['dispatcher']->addSubscriber(new RecurringTaskSubscriber($container));
// Automatic actions
$container['action']->attachEvents();