summaryrefslogtreecommitdiff
path: root/app/Api/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/Base.php')
-rw-r--r--app/Api/Base.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Api/Base.php b/app/Api/Base.php
index 723b60b7..17c7f79f 100644
--- a/app/Api/Base.php
+++ b/app/Api/Base.php
@@ -24,6 +24,9 @@ abstract class Base extends \Core\Base
private $both_allowed_procedures = array(
'getTimezone',
'getVersion',
+ 'getDefaultTaskColor',
+ 'getDefaultTaskColors',
+ 'getColorList',
'getProjectById',
'getTask',
'getTaskByReference',
@@ -67,6 +70,7 @@ abstract class Base extends \Core\Base
{
if (! empty($task)) {
$task['url'] = $this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), '', true);
+ $task['color'] = $this->color->getColorProperties($task['color_id']);
}
return $task;