From 79088a7f658c15c6399aefed90f318bf54944d23 Mon Sep 17 00:00:00 2001 From: Nikolaos Georgakis Date: Wed, 8 Jun 2016 13:39:41 +0300 Subject: Updated to include "Model" suffix --- app/Api/SubtaskTimeTrackingApi.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/Api') 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); } } -- cgit v1.2.3