summaryrefslogtreecommitdiff
path: root/app/Controller/Subtask.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-09 12:47:49 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-09 12:47:49 -0500
commit3df63e051fac84cec98c912668722f87d6e8183e (patch)
tree648a92db37f3295669ae6cc59126fc003235cfa8 /app/Controller/Subtask.php
parente0117cb8ed6326e8c77a02ce265c2b5f195e08d8 (diff)
Add projects to the dashboard and rename some methods
Diffstat (limited to 'app/Controller/Subtask.php')
-rw-r--r--app/Controller/Subtask.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controller/Subtask.php b/app/Controller/Subtask.php
index 5db7471a..bc50b5e1 100644
--- a/app/Controller/Subtask.php
+++ b/app/Controller/Subtask.php
@@ -42,7 +42,7 @@ class Subtask extends Base
'another_subtask' => $this->request->getIntegerParam('another_subtask', 0)
),
'errors' => array(),
- 'users_list' => $this->projectPermission->getUsersList($task['project_id']),
+ 'users_list' => $this->projectPermission->getMemberList($task['project_id']),
'task' => $task,
)));
}
@@ -78,7 +78,7 @@ class Subtask extends Base
$this->response->html($this->taskLayout('subtask_create', array(
'values' => $values,
'errors' => $errors,
- 'users_list' => $this->projectPermission->getUsersList($task['project_id']),
+ 'users_list' => $this->projectPermission->getMemberList($task['project_id']),
'task' => $task,
)));
}
@@ -96,7 +96,7 @@ class Subtask extends Base
$this->response->html($this->taskLayout('subtask_edit', array(
'values' => $subtask,
'errors' => array(),
- 'users_list' => $this->projectPermission->getUsersList($task['project_id']),
+ 'users_list' => $this->projectPermission->getMemberList($task['project_id']),
'status_list' => $this->subTask->getStatusList(),
'subtask' => $subtask,
'task' => $task,
@@ -131,7 +131,7 @@ class Subtask extends Base
$this->response->html($this->taskLayout('subtask_edit', array(
'values' => $values,
'errors' => $errors,
- 'users_list' => $this->projectPermission->getUsersList($task['project_id']),
+ 'users_list' => $this->projectPermission->getMemberList($task['project_id']),
'status_list' => $this->subTask->getStatusList(),
'subtask' => $subtask,
'task' => $task,