From e2c83b954b9aa58d3ada9ff0c857af0115618cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Tue, 22 Aug 2017 20:47:28 -0300 Subject: Refactor relation functions to static methods MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.php') 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 ) { -- cgit v1.2.3