diff options
Diffstat (limited to 'models/action.php')
-rw-r--r-- | models/action.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/models/action.php b/models/action.php index 9b18d461..f3e2094d 100644 --- a/models/action.php +++ b/models/action.php @@ -26,6 +26,7 @@ class Action extends Base 'TaskAssignSpecificUser' => t('Assign the task to a specific user'), 'TaskAssignCurrentUser' => t('Assign the task to the person who does the action'), 'TaskDuplicateAnotherProject' => t('Duplicate the task to another project'), + 'TaskAssignColorUser' => t('Assign a color to a specific user'), ); } @@ -217,6 +218,10 @@ class Action extends Base require_once __DIR__.'/../actions/task_duplicate_another_project.php'; $className = '\Action\TaskDuplicateAnotherProject'; return new $className($project_id, new Task($this->db, $this->event)); + case 'TaskAssignColorUser': + require_once __DIR__.'/../actions/task_assign_color_user.php'; + $className = '\Action\TaskAssignColorUser'; + return new $className($project_id, new Task($this->db, $this->event)); default: throw new \LogicException('Action not found: '.$name); } |