From 1a8ca671b5a58dcdf45ed8c165d49e5dd5a2e9a6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 11 Feb 2015 21:05:23 -0500 Subject: Add subscriber for task (moved date) --- app/ServiceProvider/EventDispatcherProvider.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/ServiceProvider') diff --git a/app/ServiceProvider/EventDispatcherProvider.php b/app/ServiceProvider/EventDispatcherProvider.php index f65a9dca..ec382206 100644 --- a/app/ServiceProvider/EventDispatcherProvider.php +++ b/app/ServiceProvider/EventDispatcherProvider.php @@ -13,6 +13,7 @@ use Subscriber\ProjectDailySummarySubscriber; use Subscriber\ProjectModificationDateSubscriber; use Subscriber\WebhookSubscriber; use Subscriber\SubtaskTimesheetSubscriber; +use Subscriber\TaskMovedDateSubscriber; class EventDispatcherProvider implements ServiceProviderInterface { @@ -27,6 +28,7 @@ class EventDispatcherProvider implements ServiceProviderInterface $container['dispatcher']->addSubscriber(new WebhookSubscriber($container)); $container['dispatcher']->addSubscriber(new NotificationSubscriber($container)); $container['dispatcher']->addSubscriber(new SubtaskTimesheetSubscriber($container)); + $container['dispatcher']->addSubscriber(new TaskMovedDateSubscriber($container)); // Automatic actions $container['action']->attachEvents(); -- cgit v1.2.3