diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-03-26 01:32:13 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-03-26 01:32:13 +0300 |
commit | d98658187a5ee9be33bb5fa54e7fe0638ef9b70c (patch) | |
tree | af1d9221780ee28b04529c6eb813754a712bc889 /index.php | |
parent | 46ceeea14f258f6bc5fbef9260e81a71ba3ba228 (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.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 ) { |