diff options
Diffstat (limited to 'plugins/UsersManager/UsersManager.php')
-rw-r--r-- | plugins/UsersManager/UsersManager.php | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/plugins/UsersManager/UsersManager.php b/plugins/UsersManager/UsersManager.php index 5471a75658..10fe88a003 100644 --- a/plugins/UsersManager/UsersManager.php +++ b/plugins/UsersManager/UsersManager.php @@ -19,10 +19,11 @@ class Piwik_UsersManager extends Piwik_Plugin public function getInformation() { $info = array( - 'description' => Piwik_Translate('UsersManager_PluginDescription'), + 'name' => 'Users Management', + 'description' => 'Users Management in Piwik: add a new User, edit an existing one, update the permissions. All the actions are also available through the API.', 'author' => 'Piwik', - 'author_homepage' => 'http://piwik.org/', - 'version' => Piwik_Version::VERSION, + 'homepage' => 'http://piwik.org/', + 'version' => '0.1', ); return $info; @@ -35,14 +36,7 @@ class Piwik_UsersManager extends Piwik_Plugin function addMenu() { - Piwik_AddAdminMenu('UsersManager_MenuUsers', - array('module' => 'UsersManager', 'action' => 'index'), - Piwik::isUserHasSomeAdminAccess(), - $order = 3); - Piwik_AddAdminMenu('UsersManager_MenuUserSettings', - array('module' => 'UsersManager', 'action' => 'userSettings'), - Piwik::isUserHasSomeViewAccess(), - $order = 1); + Piwik_AddAdminMenu('UsersManager_MenuUsers', array('module' => 'UsersManager', 'action' => 'index')); } } |