summaryrefslogtreecommitdiff
path: root/app/Model/SubtaskTimeTracking.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-07 18:36:16 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-07 18:36:16 -0500
commitfa6d19928abcfa03861e264222dbe46ad2fdc15a (patch)
tree598861577bba3a0a65e0bd47eecfb29f11f167ae /app/Model/SubtaskTimeTracking.php
parentf83fc5bee4b93f1209bce14d1d7eaa50fdc6870b (diff)
Rename subtask model
Diffstat (limited to 'app/Model/SubtaskTimeTracking.php')
-rw-r--r--app/Model/SubtaskTimeTracking.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Model/SubtaskTimeTracking.php b/app/Model/SubtaskTimeTracking.php
index 5c8a7c81..cc839ddb 100644
--- a/app/Model/SubtaskTimeTracking.php
+++ b/app/Model/SubtaskTimeTracking.php
@@ -33,13 +33,13 @@ class SubtaskTimeTracking extends Base
self::TABLE.'.subtask_id',
self::TABLE.'.end',
self::TABLE.'.start',
- SubTask::TABLE.'.task_id',
- SubTask::TABLE.'.title AS subtask_title',
+ Subtask::TABLE.'.task_id',
+ Subtask::TABLE.'.title AS subtask_title',
Task::TABLE.'.title AS task_title',
Task::TABLE.'.project_id'
)
- ->join(SubTask::TABLE, 'id', 'subtask_id')
- ->join(Task::TABLE, 'id', 'task_id', SubTask::TABLE)
+ ->join(Subtask::TABLE, 'id', 'subtask_id')
+ ->join(Task::TABLE, 'id', 'task_id', Subtask::TABLE)
->eq(self::TABLE.'.user_id', $user_id);
}