Add settings to disable subtask timer and another to not include closed tasks into CFD

This commit is contained in:
Frederic Guillot
2015-07-25 13:02:20 -04:00
parent 392a75fa0e
commit 8142d43057
25 changed files with 173 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ class SubtaskTimeTrackingSubscriber extends \Core\Base implements EventSubscribe
public function logStartEnd(SubtaskEvent $event)
{
if (isset($event['status'])) {
if (isset($event['status']) && $this->config->get('subtask_time_tracking') == 1) {
$subtask = $this->subtask->getById($event['id']);