aboutsummaryrefslogtreecommitdiff
path: root/app/Models/StatsDAO.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-10-09 21:44:44 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-10-09 21:44:44 -0400
commiteb40dbccdb1e0830fcad96d333b242870cc0d0a7 (patch)
tree62baf9334c8ffd2c68810c686fb2f4b133e8fa0d /app/Models/StatsDAO.php
parent99cdd2a0ad7d0c0bf8965ddac2661cfa4c57809d (diff)
Change statistic average
I was using the stats and it feels that the stat average was useless in that form since the line is always at the same position no matter what is the value. So I deleted that line and added the average in the title. It is way more useful this way. I updated some translations both on i18n files and on http://i18n.freshrss.org
Diffstat (limited to 'app/Models/StatsDAO.php')
-rw-r--r--app/Models/StatsDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/StatsDAO.php b/app/Models/StatsDAO.php
index 99d4e2148..283d5dcb1 100644
--- a/app/Models/StatsDAO.php
+++ b/app/Models/StatsDAO.php
@@ -237,7 +237,7 @@ SQL;
$interval_in_days = $period;
}
- return round($res['count'] / ($interval_in_days / $period), 2);
+ return $res['count'] / ($interval_in_days / $period);
}
/**