From 2fdb15c36ef8a9a6d0622c4f1435104d56cc2dc8 Mon Sep 17 00:00:00 2001 From: Deven Bansod Date: Tue, 11 Oct 2016 11:44:21 +0530 Subject: [PATCH] Replace call to an old and unavailable function Signed-off-by: Deven Bansod --- libraries/replication.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/replication.inc.php b/libraries/replication.inc.php index 8a6dd8a3de..41f778a233 100644 --- a/libraries/replication.inc.php +++ b/libraries/replication.inc.php @@ -299,7 +299,7 @@ function PMA_Replication_connectToMaster( // 5th parameter set to true means that it's an auxiliary connection // and we must not go back to login page if it fails - return PMA_DBI_connect($user, $password, false, $server, true); + return $GLOBALS['dbi']->connect($user, $password, false, $server, true); } /** * Fetches position and file of current binary log on master