summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/ActionProvider.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-09-19 21:28:11 -0400
committerFrederic Guillot <fred@kanboard.net>2016-09-19 21:28:11 -0400
commita65941eadb3ddcec93132006c885106a6aa4cb9b (patch)
treef2375037d55335259e0644c5e1ae3670b2499607 /app/ServiceProvider/ActionProvider.php
parenta2fd6525a0f627451380997e2859992b64c8181f (diff)
Add new automatic action to close task based on date moved
Diffstat (limited to 'app/ServiceProvider/ActionProvider.php')
-rw-r--r--app/ServiceProvider/ActionProvider.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/ServiceProvider/ActionProvider.php b/app/ServiceProvider/ActionProvider.php
index d46562b7..81f2b39e 100644
--- a/app/ServiceProvider/ActionProvider.php
+++ b/app/ServiceProvider/ActionProvider.php
@@ -2,12 +2,12 @@
namespace Kanboard\ServiceProvider;
+use Pimple\Container;
+use Pimple\ServiceProviderInterface;
use Kanboard\Action\TaskAssignColorPriority;
use Kanboard\Action\TaskAssignDueDateOnCreation;
use Kanboard\Action\TaskMoveColumnClosed;
use Kanboard\Action\TaskMoveColumnNotMovedPeriod;
-use Pimple\Container;
-use Pimple\ServiceProviderInterface;
use Kanboard\Core\Action\ActionManager;
use Kanboard\Action\CommentCreation;
use Kanboard\Action\CommentCreationMoveTaskColumn;
@@ -36,6 +36,7 @@ use Kanboard\Action\TaskOpen;
use Kanboard\Action\TaskUpdateStartDate;
use Kanboard\Action\TaskCloseNoActivity;
use Kanboard\Action\TaskCloseNoActivityColumn;
+use Kanboard\Action\TaskCloseNotMovedColumn;
use Kanboard\Action\TaskAssignColorSwimlane;
use Kanboard\Action\TaskAssignPrioritySwimlane;
@@ -75,6 +76,7 @@ class ActionProvider implements ServiceProviderInterface
$container['actionManager']->register(new TaskCloseColumn($container));
$container['actionManager']->register(new TaskCloseNoActivity($container));
$container['actionManager']->register(new TaskCloseNoActivityColumn($container));
+ $container['actionManager']->register(new TaskCloseNotMovedColumn($container));
$container['actionManager']->register(new TaskCreation($container));
$container['actionManager']->register(new TaskDuplicateAnotherProject($container));
$container['actionManager']->register(new TaskEmail($container));