diff options
Diffstat (limited to 'plugins/CoreAdminHome/CoreAdminHome.php')
-rw-r--r-- | plugins/CoreAdminHome/CoreAdminHome.php | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/plugins/CoreAdminHome/CoreAdminHome.php b/plugins/CoreAdminHome/CoreAdminHome.php index 8b15308f92..c395ae00c2 100644 --- a/plugins/CoreAdminHome/CoreAdminHome.php +++ b/plugins/CoreAdminHome/CoreAdminHome.php @@ -19,10 +19,11 @@ class Piwik_CoreAdminHome extends Piwik_Plugin public function getInformation() { return array( - 'description' => Piwik_Translate('CoreAdminHome_PluginDescription'), + 'name' => 'Administration area', + 'description' => 'Administration area of Piwik.', 'author' => 'Piwik', - 'author_homepage' => 'http://piwik.org/', - 'version' => Piwik_Version::VERSION, + 'homepage' => 'http://piwik.org/', + 'version' => '0.1', ); } @@ -30,7 +31,6 @@ class Piwik_CoreAdminHome extends Piwik_Plugin { return array( 'template_css_import' => 'css', - 'AdminMenu.add' => 'addMenu' ); } @@ -38,12 +38,4 @@ class Piwik_CoreAdminHome extends Piwik_Plugin { echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"plugins/CoreAdminHome/templates/menu.css\" />\n"; } - - function addMenu() - { - Piwik_AddAdminMenu('CoreAdminHome_MenuGeneralSettings', - array('module' => 'CoreAdminHome', 'action' => 'generalSettings'), - Piwik::isUserIsSuperUser(), - $order = 6); - } } |