diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2022-02-25 05:36:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 05:36:29 +0300 |
commit | 213e8ed241978791bf715f622e9243226d5e6c75 (patch) | |
tree | af74c65274a89fe3837c534def6bdb40650d3e61 /plugins/UsersManager | |
parent | 4c0e328b6d34dd6604e2b882d129f22ff4d28fd6 (diff) |
Remove no longer needed method in UsersManager (#18846)
Avoids fatal errors like "Too few arguments to function Piwik\\Plugins\\UsersManager\\Controller::orderByName(), 0 passed and exactly 2 expected" when opening
`/index.php?module=UsersManager&action=orderByName`. I couldn't find usage of this method. If it was still used, we could make it private.
Diffstat (limited to 'plugins/UsersManager')
-rw-r--r-- | plugins/UsersManager/Controller.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/UsersManager/Controller.php b/plugins/UsersManager/Controller.php index c67e9b9e1b..e3ee4f912b 100644 --- a/plugins/UsersManager/Controller.php +++ b/plugins/UsersManager/Controller.php @@ -68,11 +68,6 @@ class Controller extends ControllerAdmin parent::__construct(); } - static function orderByName($a, $b) - { - return strcmp($a['name'], $b['name']); - } - /** * The "Manage Users and Permissions" Admin UI screen */ |