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 /index.php
parent8256945ec2f79155f8dae765118efe1201d1436c (diff)
Refactor relation functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 3d236fd025..8c36ea173e 100644
--- a/index.php
+++ b/index.php
@@ -11,6 +11,7 @@ use PhpMyAdmin\Core;
use PhpMyAdmin\LanguageManager;
use PhpMyAdmin\Message;
use PhpMyAdmin\RecentFavoriteTable;
+use PhpMyAdmin\Relation;
use PhpMyAdmin\Response;
use PhpMyAdmin\Sanitize;
use PhpMyAdmin\ThemeManager;
@@ -560,7 +561,7 @@ if (@file_exists('config')) {
}
if ($server > 0) {
- $cfgRelation = PMA_getRelationsParam();
+ $cfgRelation = Relation::getRelationsParam();
if (! $cfgRelation['allworks']
&& $cfg['PmaNoRelation_DisableWarning'] == false
) {