Skip to content

Commit

Permalink
Average variable is commented out
Browse files Browse the repository at this point in the history
Calculation of the average-variable ($avg) I commented out because this is not the correct way to calculate the average just for work days -> New idea required, maybe ignore the weekend complete
  • Loading branch information
thesunrise1983 committed Jan 7, 2013
1 parent 98c665a commit 63f670f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/graph.php
Expand Up @@ -183,7 +183,7 @@ private function userdownloads($date) {
// get work day average
if(count($usertraffic)){
$avg = $this->log->avg($usertraffic);
$avg = $avg / 5; //work day average
// $avg = $avg / 7 *5; //work day average
}else{
$avg = 0;
}
Expand Down

0 comments on commit 63f670f

Please sign in to comment.