diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-09-09 23:05:00 +0300 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-09-09 23:05:00 +0300 |
commit | 42c0ebac8515bdc601ba661d575d35cd448150f0 (patch) | |
tree | e89e10b78c8f96adf0fcd2c298fa33964f32ce46 /server_binlog.php | |
parent | 38ec9e71681743237c58a5a4bb440ca395a55862 (diff) | |
parent | 6a163eaa46171ee0ff7ddf9e7037ffb2f5395bbc (diff) |
Merge branch 'master' into useNamespaces_master
Diffstat (limited to 'server_binlog.php')
-rw-r--r-- | server_binlog.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/server_binlog.php b/server_binlog.php index 851181e335..5f07513029 100644 --- a/server_binlog.php +++ b/server_binlog.php @@ -5,6 +5,7 @@ * * @package PhpMyAdmin */ +use PMA\libraries\DatabaseInterface; /** * requirements @@ -21,15 +22,13 @@ require_once 'libraries/server_bin_log.lib.php'; /** * array binary log files */ -$binary_logs = PMA_DRIZZLE - ? null - : $GLOBALS['dbi']->fetchResult( - 'SHOW MASTER LOGS', - 'Log_name', - null, - null, - PMA\libraries\DatabaseInterface::QUERY_STORE - ); +$binary_logs = $GLOBALS['dbi']->fetchResult( + 'SHOW MASTER LOGS', + 'Log_name', + null, + null, + DatabaseInterface::QUERY_STORE +); if (! isset($_REQUEST['log']) || ! array_key_exists($_REQUEST['log'], $binary_logs) |