diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index d9609f778..9517f8cac 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -1012,10 +1012,6 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice')
unset($tbl_status);
echo '
' . "\n";
- if (!empty($GLOBALS['show_error_header'])) {
- echo '
' . "\n";
- echo '
' . $GLOBALS['strError'] . '
' . "\n";
- }
if ($message instanceof PMA_Message) {
$message->display();
@@ -1029,10 +1025,6 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice')
echo '';
}
- if (!empty($GLOBALS['show_error_header'])) {
- echo '
';
- }
-
if ($cfg['ShowSQL'] == true && ! empty($sql_query)) {
// Basic url query part
$url_qpart = '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']);