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/database/database.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/database') diff --git a/includes/database/database.inc b/includes/database/database.inc index b20de3979..4b51b8b9b 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -2381,7 +2381,7 @@ function _db_error_page($error = '') { global $db_type; drupal_language_initialize(); drupal_maintenance_theme(); - drupal_set_header($_SERVER['SERVER_PROTOCOL'] . ' 503 Service Unavailable'); + drupal_add_http_header($_SERVER['SERVER_PROTOCOL'] . ' 503 Service Unavailable'); drupal_set_title('Site offline'); } -- cgit v1.2.3