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>2018-03-26 01:32:13 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-03-26 01:32:13 +0300
commitd98658187a5ee9be33bb5fa54e7fe0638ef9b70c (patch)
treeaf1d9221780ee28b04529c6eb813754a712bc889 /index.php
parent46ceeea14f258f6bc5fbef9260e81a71ba3ba228 (diff)
Replace PhpMyAdmin\Relation static calls
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 79b59ba508..cc492e77ee 100644
--- a/index.php
+++ b/index.php
@@ -594,8 +594,10 @@ if (@file_exists('config')) {
);
}
+$relation = new Relation();
+
if ($server > 0) {
- $cfgRelation = Relation::getRelationsParam();
+ $cfgRelation = $relation->getRelationsParam();
if (! $cfgRelation['allworks']
&& $cfg['PmaNoRelation_DisableWarning'] == false
) {