diff options
author | Nikolaos Georgakis <nikos.git@ngtech.gr> | 2016-06-08 13:39:41 +0300 |
---|---|---|
committer | Nikolaos Georgakis <nikos.git@ngtech.gr> | 2016-06-08 13:39:41 +0300 |
commit | 79088a7f658c15c6399aefed90f318bf54944d23 (patch) | |
tree | de8c8b911b09604c0f3d2244a0420e6e15aa02f6 /app/Api | |
parent | a37a8d5878e10e091812083bb4f50bf4681ab31f (diff) |
Updated to include "Model" suffix
Diffstat (limited to 'app/Api')
-rw-r--r-- | app/Api/SubtaskTimeTrackingApi.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Api/SubtaskTimeTrackingApi.php b/app/Api/SubtaskTimeTrackingApi.php index 80f5289b..0e700b31 100644 --- a/app/Api/SubtaskTimeTrackingApi.php +++ b/app/Api/SubtaskTimeTrackingApi.php @@ -2,7 +2,7 @@ namespace Kanboard\Api; -Use \Kanboard\Core\Base +use Kanboard\Core\Base; /** * Subtask Time Tracking API controller @@ -14,21 +14,21 @@ class SubtaskTimeTrackingApi extends Base { public function hasTimer($subtask_id,$user_id) { - return $this->subtaskTimeTracking->hasTimer($subtask_id,$user_id); + return $this->subtaskTimeTrackingModel->hasTimer($subtask_id,$user_id); } public function logStartTime($subtask_id,$user_id) { - return $this->subtaskTimeTracking->logStartTime($subtask_id,$user_id); + return $this->subtaskTimeTrackingModel->logStartTime($subtask_id,$user_id); } public function logEndTime($subtask_id,$user_id) { - return $this->subtaskTimeTracking->logEndTime($subtask_id,$user_id); + return $this->subtaskTimeTrackingModel->logEndTime($subtask_id,$user_id); } public function getTimeSpent($subtask_id,$user_id) { - return $this->subtaskTimeTracking->getTimeSpent($subtask_id,$user_id); + return $this->subtaskTimeTrackingModel->getTimeSpent($subtask_id,$user_id); } } |