Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2022-02-25 05:36:29 +0300
committerGitHub <noreply@github.com>2022-02-25 05:36:29 +0300
commit213e8ed241978791bf715f622e9243226d5e6c75 (patch)
treeaf74c65274a89fe3837c534def6bdb40650d3e61
parent4c0e328b6d34dd6604e2b882d129f22ff4d28fd6 (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.
-rw-r--r--plugins/UsersManager/Controller.php5
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
*/