Add settings to disable subtask timer and another to not include closed tasks into CFD
This commit is contained in:
@@ -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']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user