summaryrefslogtreecommitdiff
path: root/app/Model/ProjectDailyStats.php
diff options
context:
space:
mode:
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)