summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-30 18:36:02 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-30 18:36:02 +0000
commit7178f6b17398b10105f8246b11c8d10b14ae39a6 (patch)
treece4bc701c146ae17f4e38190565c4839c22956ff /modules/system/system.module
parenta8f8a26f6d77f6aca8821e28e66ea253687d7d59 (diff)
downloadbrdo-7178f6b17398b10105f8246b11c8d10b14ae39a6.tar.gz
brdo-7178f6b17398b10105f8246b11c8d10b14ae39a6.tar.bz2
- Patch #451604 by brianV, sun | Dries, c960657: rename drupal_set_header().
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 688eeca83..6a5d8187c 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -2730,7 +2730,7 @@ function theme_meta_generator_html($version = VERSION) {
* @ingroup themeable
*/
function theme_meta_generator_header($version = VERSION) {
- drupal_set_header('X-Generator', 'Drupal ' . $version . ' (http://drupal.org)');
+ drupal_add_http_header('X-Generator', 'Drupal ' . $version . ' (http://drupal.org)');
}
/**
@@ -2824,7 +2824,7 @@ function system_run_cron_image() {
// Output a transparent 1x1 image to the browser; required for clients not
// supporting JavaScript.
- drupal_set_header('Content-Type', 'image/gif');
+ drupal_add_http_header('Content-Type', 'image/gif');
echo "\x47\x49\x46\x38\x39\x61\x1\x0\x1\x0\x80\xff\x0\xc0\xc0\xc0\x0\x0\x0\x21\xf9\x4\x1\x0\x0\x0\x0\x2c\x0\x0\x0\x0\x1\x0\x1\x0\x0\x2\x2\x44\x1\x0\x3b";
// Cron threshold semaphore is used to avoid errors every time the image