summaryrefslogtreecommitdiff
path: root/app/Model/ProjectDailyStats.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-16 17:01:56 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-16 17:01:56 -0500
commit73ff5ec89b711791b3993f9158dc9554a623602c (patch)
tree8899efba69125c7117754134ffe17bef7257be20 /app/Model/ProjectDailyStats.php
parentb77fecc7d942c5cf606110f865caadfcab431155 (diff)
Remove ProjectAnalytic class
Diffstat (limited to 'app/Model/ProjectDailyStats.php')
-rw-r--r--app/Model/ProjectDailyStats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/ProjectDailyStats.php b/app/Model/ProjectDailyStats.php
index e79af372..12fecbe6 100644
--- a/app/Model/ProjectDailyStats.php
+++ b/app/Model/ProjectDailyStats.php
@@ -29,7 +29,7 @@ class ProjectDailyStats extends Base
{
$this->db->startTransaction();
- $lead_cycle_time = $this->projectAnalytic->getAverageLeadAndCycleTime($project_id);
+ $lead_cycle_time = $this->averageLeadCycleTimeAnalytic->build($project_id);
$exists = $this->db->table(ProjectDailyStats::TABLE)
->eq('day', $date)