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:
authorChristian Foellmann <foellmann@foe-services.de>2015-01-07 22:30:46 +0300
committerChristian Foellmann <foellmann@foe-services.de>2015-01-07 22:30:46 +0300
commit72f864ff50d01b8bc18904db7a6ba4fa32c44783 (patch)
tree5e21bb2e65452081461e762eab72e5d8c577dec5 /libraries/Menu.class.php
parent170cb05f4eec4322303658108f9eea6e55163e50 (diff)
UPDATE 4.3.64.3.6
Diffstat (limited to 'libraries/Menu.class.php')
-rw-r--r--libraries/Menu.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/Menu.class.php b/libraries/Menu.class.php
index a9f2b15afb..a4b537e8ab 100644
--- a/libraries/Menu.class.php
+++ b/libraries/Menu.class.php
@@ -507,13 +507,13 @@ class PMA_Menu
*/
private function _getServerTabs()
{
- $is_superuser = isset($GLOBALS['dbi']) && $GLOBALS['dbi']->isSuperuser();
+ $is_superuser = $GLOBALS['dbi']->isSuperuser();
$isCreateOrGrantUser = $GLOBALS['dbi']->isUserType('grant')
|| $GLOBALS['dbi']->isUserType('create');
$binary_logs = null;
$notDrizzle = ! defined('PMA_DRIZZLE')
|| (defined('PMA_DRIZZLE') && ! PMA_DRIZZLE);
- if (isset($GLOBALS['dbi']) && $notDrizzle) {
+ if ($notDrizzle) {
if (PMA_Util::cacheExists('binary_logs')) {
$binary_logs = PMA_Util::cacheGet('binary_logs');
} else {