summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-19 08:08:45 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-19 08:08:45 +0000
commit74292cd0625032180b2d178ae1c57e51462f121e (patch)
tree79ffaafcf1cd4c7b4a2dd2d33512228a0efb597c /modules/locale
parente9c36f969752488ca33da745b15805c489932a30 (diff)
downloadbrdo-74292cd0625032180b2d178ae1c57e51462f121e.tar.gz
brdo-74292cd0625032180b2d178ae1c57e51462f121e.tar.bz2
- Patch #80951 by killes, yched et al: block caching.
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index 2fc47a299..417f99f19 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -516,6 +516,8 @@ function _locale_batch_import($filepath, &$context) {
function locale_block($op = 'list', $delta = 0) {
if ($op == 'list') {
$block[0]['info'] = t('Language switcher');
+ // Not worth caching.
+ $block[0]['cache'] = BLOCK_NO_CACHE;
return $block;
}