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-08-23 02:47:28 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-08-23 02:51:27 +0300
commite2c83b954b9aa58d3ada9ff0c857af0115618cdf (patch)
tree08c59269958f74021c6ed7d94dccece04d61c6c3 /server_privileges.php
parent8256945ec2f79155f8dae765118efe1201d1436c (diff)
Refactor relation 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.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/server_privileges.php b/server_privileges.php
index 9e803c6033..23022a72b5 100644
--- a/server_privileges.php
+++ b/server_privileges.php
@@ -8,6 +8,7 @@
use PhpMyAdmin\Core;
use PhpMyAdmin\Message;
+use PhpMyAdmin\Relation;
use PhpMyAdmin\Response;
use PhpMyAdmin\Server\Privileges;
@@ -22,7 +23,7 @@ require_once 'libraries/common.inc.php';
require_once 'libraries/display_change_password.lib.php';
require_once 'libraries/check_user_privileges.lib.php';
-$cfgRelation = PMA_getRelationsParam();
+$cfgRelation = Relation::getRelationsParam();
/**
* Does the common work