From d577c73e46de23742bc069d0a444f0bedeca5abc Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 13 Jun 2015 22:03:12 -0400 Subject: Add new automatic action: Move task to another column when the category is changed --- app/Action/Base.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'app/Action/Base.php') diff --git a/app/Action/Base.php b/app/Action/Base.php index f29e9323..d0c81d89 100644 --- a/app/Action/Base.php +++ b/app/Action/Base.php @@ -222,12 +222,17 @@ abstract class Base extends \Core\Base } $data = $event->getAll(); + $result = false; if ($this->isExecutable($data)) { $this->called = true; - return $this->doAction($data); + $result = $this->doAction($data); } - return false; + if (DEBUG) { + $this->container['logger']->debug(get_called_class().' => '.($result ? 'true' : 'false')); + } + + return $result; } } -- cgit v1.2.3