summaryrefslogtreecommitdiff
path: root/app/Action/TaskAssignColorPriority.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Action/TaskAssignColorPriority.php')
-rw-r--r--app/Action/TaskAssignColorPriority.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Action/TaskAssignColorPriority.php b/app/Action/TaskAssignColorPriority.php
index 2e24f9ef..eae1b771 100644
--- a/app/Action/TaskAssignColorPriority.php
+++ b/app/Action/TaskAssignColorPriority.php
@@ -2,7 +2,7 @@
namespace Kanboard\Action;
-use Kanboard\Model\Task;
+use Kanboard\Model\TaskModel;
/**
* Assign a color to a priority
@@ -32,7 +32,7 @@ class TaskAssignColorPriority extends Base
public function getCompatibleEvents()
{
return array(
- Task::EVENT_CREATE_UPDATE,
+ TaskModel::EVENT_CREATE_UPDATE,
);
}
@@ -78,7 +78,7 @@ class TaskAssignColorPriority extends Base
'color_id' => $this->getParam('color_id'),
);
- return $this->taskModification->update($values, false);
+ return $this->taskModificationModel->update($values, false);
}
/**