summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/EventDispatcherProvider.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-04 22:19:32 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-04 22:19:32 -0500
commitb24b1e7e4e5ee0551ee56aa0f21c4425b479db2e (patch)
tree5fffaeb461707dada9f2909101d51c9da3c77a50 /app/ServiceProvider/EventDispatcherProvider.php
parent2d070627d751bf5728ec98a5efaf163532594cd9 (diff)
Add subtasks restrictions and time tracking
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 fd0f7a84..f65a9dca 100644
--- a/app/ServiceProvider/EventDispatcherProvider.php
+++ b/app/ServiceProvider/EventDispatcherProvider.php
@@ -12,6 +12,7 @@ use Subscriber\ProjectActivitySubscriber;
use Subscriber\ProjectDailySummarySubscriber;
use Subscriber\ProjectModificationDateSubscriber;
use Subscriber\WebhookSubscriber;
+use Subscriber\SubtaskTimesheetSubscriber;
class EventDispatcherProvider implements ServiceProviderInterface
{
@@ -25,6 +26,7 @@ class EventDispatcherProvider implements ServiceProviderInterface
$container['dispatcher']->addSubscriber(new ProjectModificationDateSubscriber($container));
$container['dispatcher']->addSubscriber(new WebhookSubscriber($container));
$container['dispatcher']->addSubscriber(new NotificationSubscriber($container));
+ $container['dispatcher']->addSubscriber(new SubtaskTimesheetSubscriber($container));
// Automatic actions
$container['action']->attachEvents();