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 /db_operations.php
parent46ceeea14f258f6bc5fbef9260e81a71ba3ba228 (diff)
Replace PhpMyAdmin\Relation static calls
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'db_operations.php')
-rw-r--r--db_operations.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/db_operations.php b/db_operations.php
index 02118e3f5d..70c0d53877 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -210,15 +210,16 @@ if (strlen($GLOBALS['db']) > 0
/**
* Settings for relations stuff
*/
+$relation = new Relation();
-$cfgRelation = Relation::getRelationsParam();
+$cfgRelation = $relation->getRelationsParam();
/**
* Check if comments were updated
* (must be done before displaying the menu tabs)
*/
if (isset($_REQUEST['comment'])) {
- Relation::setDbComment($GLOBALS['db'], $_REQUEST['comment']);
+ $relation->setDbComment($GLOBALS['db'], $_REQUEST['comment']);
}
require 'libraries/db_common.inc.php';