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 /tbl_operations.php
parent46ceeea14f258f6bc5fbef9260e81a71ba3ba228 (diff)
Replace PhpMyAdmin\Relation static calls
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'tbl_operations.php')
-rw-r--r--tbl_operations.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/tbl_operations.php b/tbl_operations.php
index 47e80cde98..95189677b8 100644
--- a/tbl_operations.php
+++ b/tbl_operations.php
@@ -44,7 +44,8 @@ $url_params['goto'] = $url_params['back'] = 'tbl_operations.php';
/**
* Gets relation settings
*/
-$cfgRelation = Relation::getRelationsParam();
+$relation = new Relation();
+$cfgRelation = $relation->getRelationsParam();
// reselect current db (needed in some cases probably due to
// the calling of PhpMyAdmin\Relation)
@@ -460,7 +461,7 @@ unset($partition_names);
if ($cfgRelation['relwork'] && ! $pma_table->isEngine("INNODB")) {
$GLOBALS['dbi']->selectDb($GLOBALS['db']);
- $foreign = Relation::getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'internal');
+ $foreign = $relation->getForeigners($GLOBALS['db'], $GLOBALS['table'], '', 'internal');
if (! empty($foreign)) {
$response->addHTML(