aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-09-29 18:54:03 -0400
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-09 16:00:15 +0200
commit57d4914bf81f3380fe55fa06b7b312f1c463e3e3 (patch)
tree82e34de811ef3a9885bdfb7a5a2c9de70a384291 /app/Controllers
parent0965aecefef0fa1e67e649d24c6d4b3ba0e143c1 (diff)
Add an average per day for the 30 day period
Conflicts: app/views/stats/index.phtml
Diffstat (limited to 'app/Controllers')
-rw-r--r--app/Controllers/statsController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/statsController.php b/app/Controllers/statsController.php
index 256543f37..3069be34d 100644
--- a/app/Controllers/statsController.php
+++ b/app/Controllers/statsController.php
@@ -21,6 +21,7 @@ class FreshRSS_stats_Controller extends Minz_ActionController {
Minz_View::appendScript(Minz_Url::display('/scripts/flotr2.min.js?' . @filemtime(PUBLIC_PATH . '/scripts/flotr2.min.js')));
$this->view->repartition = $statsDAO->calculateEntryRepartition();
$this->view->count = $statsDAO->calculateEntryCount();
+ $this->view->average = $statsDAO->calculateEntryAverage();
$this->view->feedByCategory = $statsDAO->calculateFeedByCategory();
$this->view->entryByCategory = $statsDAO->calculateEntryByCategory();
$this->view->topFeed = $statsDAO->calculateTopFeed();