diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-28 05:41:05 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-28 05:41:05 +0400 |
commit | 6435225651e42e9758d6da0f9b2d5c1098a2d99c (patch) | |
tree | 2f42b3717f3c0a12f41f5a21cd86d147f20b48ad /plugins/DBStats | |
parent | 6f2423361f5b7c11cd22067d415e7ec31e3bd332 (diff) |
refs #877 - refactored
Diffstat (limited to 'plugins/DBStats')
-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(); } } |