diff options
Diffstat (limited to 'app/Controller/Timer.php')
-rw-r--r-- | app/Controller/Timer.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Controller/Timer.php b/app/Controller/Timer.php index b2096f9f..0267fcdd 100644 --- a/app/Controller/Timer.php +++ b/app/Controller/Timer.php @@ -24,8 +24,7 @@ class Timer extends Base if ($timer === 'start') { $this->subtaskTimeTracking->logStartTime($subtask_id, $this->userSession->getId()); - } - else if ($timer === 'stop') { + } elseif ($timer === 'stop') { $this->subtaskTimeTracking->logEndTime($subtask_id, $this->userSession->getId()); $this->subtaskTimeTracking->updateTaskTimeTracking($task_id); } |