From 5691cdb8806f8967edfe736db4a8bd44ef8676df Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Wed, 7 Jan 2015 11:26:38 +0530 Subject: [PATCH] bug #4691 Do not include console when no server is selected Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/common.inc.php | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 877ae9386e..2832eb7c50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - bug #4686 Select elements flicker and selects something else - bug #4689 Setup tool creates "pma__favorites" incorrectly - bug #4685 Call to a member function isUserType() on a non-object +- bug #4691 Do not include console when no server is selected 4.3.5.0 (2015-01-05) - bug Auto-configuration: tables were not created automatically diff --git a/libraries/common.inc.php b/libraries/common.inc.php index 19e31135e7..f0076acb15 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -1046,6 +1046,7 @@ if (! defined('PMA_MINIMUM_COMMON')) { // No need to check for 'PMA_BYPASS_GET_INSTANCE' since this execution path // applies only to initial login $response = PMA_Response::getInstance(); + $response->getHeader()->disableMenuAndConsole(); $response->getFooter()->setMinimal(); }