Skip to content

Commit

Permalink
Revert 86c740b. This is being referred
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed May 13, 2015
1 parent b9ab876 commit b4007f1
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions libraries/replication.inc.php
Expand Up @@ -10,6 +10,11 @@
exit;
}

/**
* get master replication from server
*/
$server_master_replication = $GLOBALS['dbi']->fetchResult('SHOW MASTER STATUS');

/**
* set selected master server
*/
Expand Down Expand Up @@ -121,13 +126,6 @@
}
if ($GLOBALS['replication_info'][$type]['status']) {
if ($type == "master") {

/**
* get master replication from server
*/
$server_master_replication = $GLOBALS['dbi']->fetchResult(
'SHOW MASTER STATUS'
);
PMA_fillReplicationInfo(
$type, 'Do_DB', $server_master_replication[0],
'Binlog_Do_DB'
Expand Down

0 comments on commit b4007f1

Please sign in to comment.