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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-08 05:45:39 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-09-08 05:45:39 +0300
commit8c41df5103c2c4ffc4e93c2c71b11e9061f98ff3 (patch)
treefd31baa652ed5bdcc93e875a144b1aa0dcfb8bd0 /server_privileges.php
parent94fa5946ce671fbdb3b491292bc0a4caee1a3410 (diff)
Refactor server_users functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'server_privileges.php')
-rw-r--r--server_privileges.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/server_privileges.php b/server_privileges.php
index a3144f7ab7..2d195d1809 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -11,6 +11,7 @@ use PhpMyAdmin\Message;
use PhpMyAdmin\Relation;
use PhpMyAdmin\Response;
use PhpMyAdmin\Server\Privileges;
+use PhpMyAdmin\Server\Users;
/**
* include common file
@@ -37,9 +38,8 @@ if ((isset($_REQUEST['viewing_mode'])
&& $_REQUEST['viewing_mode'] == 'server')
&& $GLOBALS['cfgRelation']['menuswork']
) {
- include_once 'libraries/server_users.lib.php';
$response->addHTML('<div>');
- $response->addHTML(PMA_getHtmlForSubMenusOnUsersPage('server_privileges.php'));
+ $response->addHTML(Users::getHtmlForSubMenusOnUsersPage('server_privileges.php'));
}
/**