diff options
Diffstat (limited to 'includes/theme.maintenance.inc')
-rw-r--r-- | includes/theme.maintenance.inc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index 798a02993..5d1a9b9c7 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -156,17 +156,7 @@ function theme_install_page($variables) { * FALSE can be useful to postpone the messages to a subsequent page. */ function theme_update_page($variables) { - // Set required headers. drupal_add_http_header('Content-Type', 'text/html; charset=utf-8'); - - // Special handling of warning messages. - $messages = drupal_set_message(); - if (isset($messages['warning'])) { - $title = count($messages['warning']) > 1 ? 'The following update warnings should be carefully reviewed before continuing' : 'The following update warning should be carefully reviewed before continuing'; - $variables['messages'] .= '<h4>' . $title . ':</h4>'; - $variables['messages'] .= theme('status_messages', array('display' => 'warning')); - } - return theme('maintenance_page', $variables); } |