diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 06:27:50 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-11-18 06:27:50 +0400 |
commit | 04b12f0a512e064393056743dbabbac789e5e485 (patch) | |
tree | 5239fe0ba9dc4df6a7cd97f75b4af92a2bb60268 /plugins/VisitorInterest | |
parent | 8972c29ededa241e58604267b41a4b830456a148 (diff) |
moved renderReport method to pluginController which is a much better place
Diffstat (limited to 'plugins/VisitorInterest')
-rw-r--r-- | plugins/VisitorInterest/Controller.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/VisitorInterest/Controller.php b/plugins/VisitorInterest/Controller.php index 2cb63a188d..a17b2e74ca 100644 --- a/plugins/VisitorInterest/Controller.php +++ b/plugins/VisitorInterest/Controller.php @@ -30,12 +30,12 @@ class Controller extends \Piwik\Plugin\Controller public function getNumberOfVisitsPerVisitDuration($fetch = false) { - return Factory::renderReport($this->pluginName, __FUNCTION__, $fetch); + return $this->renderReport(__FUNCTION__, $fetch); } public function getNumberOfVisitsPerPage($fetch = false) { - return Factory::renderReport($this->pluginName, __FUNCTION__, $fetch); + return $this->renderReport(__FUNCTION__, $fetch); } /** @@ -47,7 +47,7 @@ class Controller extends \Piwik\Plugin\Controller */ public function getNumberOfVisitsByVisitCount($fetch = false) { - return Factory::renderReport($this->pluginName, __FUNCTION__, $fetch); + return $this->renderReport(__FUNCTION__, $fetch); } /** @@ -59,6 +59,6 @@ class Controller extends \Piwik\Plugin\Controller */ public function getNumberOfVisitsByDaysSinceLast($fetch = false) { - return Factory::renderReport($this->pluginName, __FUNCTION__, $fetch); + return $this->renderReport(__FUNCTION__, $fetch); } } |