diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-27 08:16:41 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-10-27 08:16:41 -0700 |
commit | 50fb0beb7d76edb25b2792fb878e26bbf11cd33d (patch) | |
tree | 49f15cac2f517faa75015ec2e9350de115a04250 /includes/bootstrap.inc | |
parent | 2dd2f4f2a215e0c023513d5a63df0dd1205776fc (diff) | |
download | brdo-50fb0beb7d76edb25b2792fb878e26bbf11cd33d.tar.gz brdo-50fb0beb7d76edb25b2792fb878e26bbf11cd33d.tar.bz2 |
Issue #673020 follow-up by attiks: Critical fix to Content-Language HTTP header to not cause issues with Drush.
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r-- | includes/bootstrap.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 026545794..78f54de04 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -2498,7 +2498,6 @@ function get_t() { * Initialize all the defined language types. */ function drupal_language_initialize() { - global $language; $types = language_types(); // Ensure the language is correctly returned, even without multilanguage @@ -2518,9 +2517,6 @@ function drupal_language_initialize() { // environments. bootstrap_invoke_all('language_init'); } - - // Send appropriate HTTP-Header for browsers and search engines. - header('Content-Language: ' . $language->language); } /** |