From a7cbf66347b121fc93b21e5fa5d7b3b9b95f738a Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 20 Feb 2017 16:52:10 +0100 Subject: [PATCH] Move 'Create user' above the list of users --- adminer/privileges.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adminer/privileges.inc.php b/adminer/privileges.inc.php index 5d184ceb..d071461f 100644 --- a/adminer/privileges.inc.php +++ b/adminer/privileges.inc.php @@ -1,6 +1,8 @@ ' . lang('Create user') . ""; + $result = $connection->query("SELECT User, Host FROM mysql." . (DB == "" ? "user" : "db WHERE " . q(DB) . " LIKE Db") . " ORDER BY Host, User"); $grant = $result; if (!$result) { @@ -25,5 +27,3 @@ if (!$grant || DB != "") { echo "\n"; echo "\n"; - -echo '