summaryrefslogtreecommitdiff
path: root/app/Analytic/TaskDistributionAnalytic.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Analytic/TaskDistributionAnalytic.php')
-rw-r--r--app/Analytic/TaskDistributionAnalytic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Analytic/TaskDistributionAnalytic.php b/app/Analytic/TaskDistributionAnalytic.php
index 838652e3..447d88a1 100644
--- a/app/Analytic/TaskDistributionAnalytic.php
+++ b/app/Analytic/TaskDistributionAnalytic.php
@@ -23,10 +23,10 @@ class TaskDistributionAnalytic extends Base
{
$metrics = array();
$total = 0;
- $columns = $this->column->getAll($project_id);
+ $columns = $this->columnModel->getAll($project_id);
foreach ($columns as $column) {
- $nb_tasks = $this->taskFinder->countByColumnId($project_id, $column['id']);
+ $nb_tasks = $this->taskFinderModel->countByColumnId($project_id, $column['id']);
$total += $nb_tasks;
$metrics[] = array(