diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-08-19 08:08:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-08-19 08:08:45 +0000 |
commit | 74292cd0625032180b2d178ae1c57e51462f121e (patch) | |
tree | 79ffaafcf1cd4c7b4a2dd2d33512228a0efb597c /modules/locale | |
parent | e9c36f969752488ca33da745b15805c489932a30 (diff) | |
download | brdo-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.module | 2 |
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; } |