diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-13 22:03:12 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-13 22:03:12 -0400 |
commit | d577c73e46de23742bc069d0a444f0bedeca5abc (patch) | |
tree | 0cb485ab0f2b2140f4029538050f30658798a066 /app/Action/Base.php | |
parent | 0dc247dca1336b5bdd2f6fec292d47b8ef65ca19 (diff) |
Add new automatic action: Move task to another column when the category is changed
Diffstat (limited to 'app/Action/Base.php')
-rw-r--r-- | app/Action/Base.php | 9 |
1 files changed, 7 insertions, 2 deletions
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; } } |