diff options
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."), ); |