diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-12 08:26:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-12 08:26:15 +0000 |
commit | 47653eae18f8ee69194438cdba0bd0baaffcf6c8 (patch) | |
tree | 64f32783c5169246d2b3b618825e742f31961838 /modules/locale | |
parent | a60a608ed86e8971d77760e9df3a0932efc88d00 (diff) | |
download | brdo-47653eae18f8ee69194438cdba0bd0baaffcf6c8.tar.gz brdo-47653eae18f8ee69194438cdba0bd0baaffcf6c8.tar.bz2 |
- Patch #730046 by pwolanin, Damien Tournoud: performance settings page is inconsistent.
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.api.php | 2 | ||||
-rw-r--r-- | modules/locale/locale.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.api.php b/modules/locale/locale.api.php index 488b2bbed..f39379e66 100644 --- a/modules/locale/locale.api.php +++ b/modules/locale/locale.api.php @@ -151,7 +151,7 @@ function hook_language_negotiation_info() { 'types' => array('custom_language_type'), 'name' => t('Custom language provider'), 'description' => t('This is a custom language provider.'), - 'cache' => CACHE_DISABLED, + 'cache' => 0, ), ); } diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 4c58a8e00..e122b9f93 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -589,7 +589,7 @@ function locale_language_negotiation_info() { 'callbacks' => array('language' => 'locale_language_from_browser'), 'file' => $file, 'weight' => -2, - 'cache' => CACHE_DISABLED, + 'cache' => 0, 'name' => t('Browser'), 'description' => t("Determine the language from the browser's language settings."), ); |