summaryrefslogtreecommitdiff
path: root/app/Controller/Project.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-12 15:32:35 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-12 15:32:35 -0400
commit4061927d215c846ff8eb196301bf61532018042b (patch)
tree0e14a0e458ee8739754f75f8c158cc42a9b593a4 /app/Controller/Project.php
parentb7060b33ef317eeac576c504b1fb840d4471e411 (diff)
Move some Task model methods to the TaskFinder class
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r--app/Controller/Project.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index f998e5d6..39d8d1b0 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -447,7 +447,7 @@ class Project extends Base
$limit = 25;
$tasks = $this->taskFinder->getClosedTasks($project['id'], $offset, $limit, $order, $direction);
- $nb_tasks = $this->task->countByProjectId($project['id'], array(TaskModel::STATUS_CLOSED));
+ $nb_tasks = $this->taskFinder->countByProjectId($project['id'], array(TaskModel::STATUS_CLOSED));
$this->response->html($this->template->layout('project_tasks', array(
'pagination' => array(