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/search | |
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/search')
-rw-r--r-- | modules/search/search.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index e9faa5149..cff9314e3 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -144,6 +144,8 @@ function search_perm() { function search_block($op = 'list', $delta = 0) { if ($op == 'list') { $blocks[0]['info'] = t('Search form'); + // Not worth caching. + $blocks[0]['cache'] = BLOCK_NO_CACHE; return $blocks; } else if ($op == 'view' && user_access('search content')) { |