diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-20 10:10:27 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-20 10:10:27 +0400 |
commit | 307ec31f2cfebd9c8bf9caba575e2864d42c8597 (patch) | |
tree | 2d6120c412b272344d204e9947fb3859bb7b3aa7 /plugins/Installation/Installation.php | |
parent | 45ae10e999baf0dfa066e5daae00bca824a68191 (diff) |
refs #5192 added generator for menus, updated more plugins to use menu class, fixed some bugs, improved design, fixed tests, ...
Diffstat (limited to 'plugins/Installation/Installation.php')
-rw-r--r-- | plugins/Installation/Installation.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/Installation/Installation.php b/plugins/Installation/Installation.php index 652d3b117f..8d704efc4c 100644 --- a/plugins/Installation/Installation.php +++ b/plugins/Installation/Installation.php @@ -31,7 +31,6 @@ class Installation extends \Piwik\Plugin 'Config.NoConfigurationFile' => 'dispatch', 'Config.badConfigurationFile' => 'dispatch', 'Request.dispatch' => 'dispatchIfNotInstalledYet', - 'Menu.Admin.addItems' => 'addMenu', 'AssetManager.getStylesheetFiles' => 'getStylesheetFiles', ); return $hooks; @@ -93,17 +92,6 @@ class Installation extends \Piwik\Plugin } /** - * Adds the 'System Check' admin page if the user is the Super User. - */ - public function addMenu(MenuAbstract $menu) - { - $menu->add('General_Settings', 'Installation_SystemCheck', - array('module' => 'Installation', 'action' => 'systemCheckPage'), - Piwik::hasUserSuperUserAccess(), - $order = 15); - } - - /** * Adds CSS files to list of CSS files for asset manager. */ public function getStylesheetFiles(&$stylesheets) |