PMA_showMessage(): removed obsolete check for $show_error_header
This commit is contained in:
@@ -1012,10 +1012,6 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice')
|
|||||||
unset($tbl_status);
|
unset($tbl_status);
|
||||||
|
|
||||||
echo '<div align="' . $GLOBALS['cell_align_left'] . '">' . "\n";
|
echo '<div align="' . $GLOBALS['cell_align_left'] . '">' . "\n";
|
||||||
if (!empty($GLOBALS['show_error_header'])) {
|
|
||||||
echo '<div class="error">' . "\n";
|
|
||||||
echo '<h1>' . $GLOBALS['strError'] . '</h1>' . "\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($message instanceof PMA_Message) {
|
if ($message instanceof PMA_Message) {
|
||||||
$message->display();
|
$message->display();
|
||||||
@@ -1029,10 +1025,6 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice')
|
|||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($GLOBALS['show_error_header'])) {
|
|
||||||
echo '</div>';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($cfg['ShowSQL'] == true && ! empty($sql_query)) {
|
if ($cfg['ShowSQL'] == true && ! empty($sql_query)) {
|
||||||
// Basic url query part
|
// Basic url query part
|
||||||
$url_qpart = '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']);
|
$url_qpart = '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']);
|
||||||
|
Reference in New Issue
Block a user