diff options
Diffstat (limited to 'app/Action')
-rw-r--r-- | app/Action/Base.php | 1 | ||||
-rw-r--r-- | app/Action/TaskAssignCategoryColor.php | 2 | ||||
-rw-r--r-- | app/Action/TaskAssignCategoryLabel.php | 2 | ||||
-rw-r--r-- | app/Action/TaskAssignColorCategory.php | 2 | ||||
-rw-r--r-- | app/Action/TaskAssignColorUser.php | 2 | ||||
-rw-r--r-- | app/Action/TaskAssignCurrentUser.php | 2 | ||||
-rw-r--r-- | app/Action/TaskAssignSpecificUser.php | 2 | ||||
-rw-r--r-- | app/Action/TaskAssignUser.php | 2 |
8 files changed, 8 insertions, 7 deletions
diff --git a/app/Action/Base.php b/app/Action/Base.php index c8c589c1..b7255371 100644 --- a/app/Action/Base.php +++ b/app/Action/Base.php @@ -16,6 +16,7 @@ use Core\Tool; * @property \Model\Comment $comment * @property \Model\Task $task * @property \Model\TaskCreation $taskCreation + * @property \Model\TaskModification $taskModification * @property \Model\TaskFinder $taskFinder * @property \Model\TaskStatus $taskStatus */ diff --git a/app/Action/TaskAssignCategoryColor.php b/app/Action/TaskAssignCategoryColor.php index be15f659..4134b584 100644 --- a/app/Action/TaskAssignCategoryColor.php +++ b/app/Action/TaskAssignCategoryColor.php @@ -67,7 +67,7 @@ class TaskAssignCategoryColor extends Base 'category_id' => $this->getParam('category_id'), ); - return $this->task->update($values, false); + return $this->taskModification->update($values, false); } /** diff --git a/app/Action/TaskAssignCategoryLabel.php b/app/Action/TaskAssignCategoryLabel.php index 5e1b025e..da41a313 100644 --- a/app/Action/TaskAssignCategoryLabel.php +++ b/app/Action/TaskAssignCategoryLabel.php @@ -67,7 +67,7 @@ class TaskAssignCategoryLabel extends Base 'category_id' => isset($data['category_id']) ? $data['category_id'] : $this->getParam('category_id'), ); - return $this->task->update($values, false); + return $this->taskModification->update($values, false); } /** diff --git a/app/Action/TaskAssignColorCategory.php b/app/Action/TaskAssignColorCategory.php index f5a9ac5a..68bca5d0 100644 --- a/app/Action/TaskAssignColorCategory.php +++ b/app/Action/TaskAssignColorCategory.php @@ -67,7 +67,7 @@ class TaskAssignColorCategory extends Base 'color_id' => $this->getParam('color_id'), ); - return $this->task->update($values, false); + return $this->taskModification->update($values, false); } /** diff --git a/app/Action/TaskAssignColorUser.php b/app/Action/TaskAssignColorUser.php index 00680186..d419ab4d 100644 --- a/app/Action/TaskAssignColorUser.php +++ b/app/Action/TaskAssignColorUser.php @@ -68,7 +68,7 @@ class TaskAssignColorUser extends Base 'color_id' => $this->getParam('color_id'), ); - return $this->task->update($values, false); + return $this->taskModification->update($values, false); } /** diff --git a/app/Action/TaskAssignCurrentUser.php b/app/Action/TaskAssignCurrentUser.php index 7a9cf70b..9317bf83 100644 --- a/app/Action/TaskAssignCurrentUser.php +++ b/app/Action/TaskAssignCurrentUser.php @@ -67,7 +67,7 @@ class TaskAssignCurrentUser extends Base 'owner_id' => $this->acl->getUserId(), ); - return $this->task->update($values, false); + return $this->taskModification->update($values, false); } /** diff --git a/app/Action/TaskAssignSpecificUser.php b/app/Action/TaskAssignSpecificUser.php index f70459be..c3b979c2 100644 --- a/app/Action/TaskAssignSpecificUser.php +++ b/app/Action/TaskAssignSpecificUser.php @@ -68,7 +68,7 @@ class TaskAssignSpecificUser extends Base 'owner_id' => $this->getParam('user_id'), ); - return $this->task->update($values, false); + return $this->taskModification->update($values, false); } /** diff --git a/app/Action/TaskAssignUser.php b/app/Action/TaskAssignUser.php index 29ea91e6..d01c4073 100644 --- a/app/Action/TaskAssignUser.php +++ b/app/Action/TaskAssignUser.php @@ -64,7 +64,7 @@ class TaskAssignUser extends Base 'owner_id' => $data['owner_id'], ); - return $this->task->update($values, false); + return $this->taskModification->update($values, false); } /** |