From 7178f6b17398b10105f8246b11c8d10b14ae39a6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 30 Sep 2009 18:36:02 +0000 Subject: - Patch #451604 by brianV, sun | Dries, c960657: rename drupal_set_header(). --- includes/theme.maintenance.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/theme.maintenance.inc') diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index 701908639..1695acef3 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -119,7 +119,7 @@ function theme_task_list($items, $active = NULL) { * The page content to show. */ function theme_install_page($content) { - drupal_set_header('Content-Type', 'text/html; charset=utf-8'); + drupal_add_http_header('Content-Type', 'text/html; charset=utf-8'); // Assign content. $variables['content'] = $content; @@ -176,7 +176,7 @@ function theme_install_page($content) { */ function theme_update_page($content, $show_messages = TRUE) { // Set required headers. - drupal_set_header('Content-Type', 'text/html; charset=utf-8'); + drupal_add_http_header('Content-Type', 'text/html; charset=utf-8'); // Assign content and show message flag. $variables['content'] = $content; -- cgit v1.2.3