diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 07:02:19 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 07:02:19 +0400 |
commit | 9060f0180cb935efd1925942d3a8ce1cf309459a (patch) | |
tree | b474d8758f3b45063e4bd430f5daa028b369c879 /plugins/VisitsSummary/Controller.php | |
parent | 4658d92891093982d979e7ec8343ee4ccc510a38 (diff) |
getting rid of the fetch parameter
Diffstat (limited to 'plugins/VisitsSummary/Controller.php')
-rw-r--r-- | plugins/VisitsSummary/Controller.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VisitsSummary/Controller.php b/plugins/VisitsSummary/Controller.php index f434c6f6dc..d9e6549b04 100644 --- a/plugins/VisitsSummary/Controller.php +++ b/plugins/VisitsSummary/Controller.php @@ -31,7 +31,7 @@ class Controller extends \Piwik\Plugin\Controller $this->setPeriodVariablesView($view); $view->graphEvolutionVisitsSummary = $this->getEvolutionGraph(true, array('nb_visits')); $this->setSparklinesAndNumbers($view); - echo $view->render(); + return $view->render(); } public function getSparklines() @@ -39,7 +39,7 @@ class Controller extends \Piwik\Plugin\Controller $view = new View('@VisitsSummary/getSparklines'); $this->setPeriodVariablesView($view); $this->setSparklinesAndNumbers($view); - echo $view->render(); + return $view->render(); } public function getEvolutionGraph($fetch = false, array $columns = array()) @@ -94,7 +94,7 @@ class Controller extends \Piwik\Plugin\Controller $view = $this->getLastUnitGraphAcrossPlugins($this->pluginName, __FUNCTION__, $columns, $selectableColumns, $documentation); - return $this->renderView($view, $fetch); + return $this->renderView($view); } static public function getVisitsSummary() |