bug #4691 Do not include console when no server is selected

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-01-07 11:26:38 +05:30
parent 43d785393e
commit 5691cdb880
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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();
}