diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-26 18:58:07 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-26 18:58:07 +0400 |
commit | 5c81297e7a4c4bf848d61fabd50ffb6af1103e05 (patch) | |
tree | b7c9fa00b055b796e4e71f14d0dde4b57db8268c /plugins/DBStats | |
parent | 96c02ccf5b5e6feea034f28e6295661dd8946896 (diff) |
refs #877 - apply changes across all admin plugins
Diffstat (limited to 'plugins/DBStats')
-rw-r--r-- | plugins/DBStats/Controller.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/DBStats/Controller.php b/plugins/DBStats/Controller.php index bc9927e9b3..f7b90b619f 100644 --- a/plugins/DBStats/Controller.php +++ b/plugins/DBStats/Controller.php @@ -11,11 +11,17 @@ 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(); - $view->menu = Piwik_GetAdminMenu(); + $this->setGeneralVariablesView($view); echo $view->render(); } } |