Remove ProjectAnalytic class

This commit is contained in:
Frederic Guillot
2016-01-16 17:01:56 -05:00
parent b77fecc7d9
commit 73ff5ec89b
10 changed files with 461 additions and 114 deletions

View File

@@ -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)