diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-07 18:36:16 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-07 18:36:16 -0500 |
commit | fa6d19928abcfa03861e264222dbe46ad2fdc15a (patch) | |
tree | 598861577bba3a0a65e0bd47eecfb29f11f167ae /app/Model/SubtaskTimeTracking.php | |
parent | f83fc5bee4b93f1209bce14d1d7eaa50fdc6870b (diff) |
Rename subtask model
Diffstat (limited to 'app/Model/SubtaskTimeTracking.php')
-rw-r--r-- | app/Model/SubtaskTimeTracking.php | 8 |
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); } |