diff options
author | robocoder <anthon.pang@gmail.com> | 2009-07-28 05:41:05 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-07-28 05:41:05 +0400 |
commit | e3401f837e3840ecce6ec6c5d046f5011a903cf6 (patch) | |
tree | 2f42b3717f3c0a12f41f5a21cd86d147f20b48ad /plugins/DBStats/Controller.php | |
parent | 72a507221580aaa2704e70a112291a915c435e1f (diff) |
refs #877 - refactored
git-svn-id: http://dev.piwik.org/svn/trunk@1337 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/DBStats/Controller.php')
-rw-r--r-- | plugins/DBStats/Controller.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/DBStats/Controller.php b/plugins/DBStats/Controller.php index f7b90b619f..9446b8cda3 100644 --- a/plugins/DBStats/Controller.php +++ b/plugins/DBStats/Controller.php @@ -11,17 +11,12 @@ class Piwik_DBStats_Controller extends Piwik_Controller { - protected function setGeneralVariablesView($view) - { - parent::setGeneralVariablesView($view); - $view->menu = Piwik_GetAdminMenu(); - } - function index() { $view = new Piwik_View('DBStats/templates/DBStats.tpl'); $view->tablesStatus = Piwik_DBStats_API::getAllTablesStatus(); $this->setGeneralVariablesView($view); + $view->menu = Piwik_GetAdminMenu(); echo $view->render(); } } |