Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Average variable is commented out

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...
commit 63f670f82e42776894d1146337fa680ac3c8e4ed 1 parent 98c665a
@thesunrise1983 thesunrise1983 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  helper/graph.php
View
2  helper/graph.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.