diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-31 17:06:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-31 17:06:10 +0000 |
commit | b4786ff0eeed2bc50d665e71bd18ecd5260304c1 (patch) | |
tree | fbf68db46c5eea78f16263bf639638571093fad3 /modules/statistics | |
parent | 730adaf7178fbf683e5f51a0d3d192edd1c423e5 (diff) | |
download | brdo-b4786ff0eeed2bc50d665e71bd18ecd5260304c1.tar.gz brdo-b4786ff0eeed2bc50d665e71bd18ecd5260304c1.tar.bz2 |
- Patch #495968 by Frando, moshe weitzman: added drupal_render() cache pattern. Start using it for blocks.
Diffstat (limited to 'modules/statistics')
-rw-r--r-- | modules/statistics/statistics.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 3e5ed0ec5..be4f4af0c 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -300,7 +300,7 @@ function statistics_block_info() { if (variable_get('statistics_count_content_views', 0)) { $blocks['popular']['info'] = t('Popular content'); // Too dynamic to cache. - $blocks['popular']['cache'] = BLOCK_NO_CACHE; + $blocks['popular']['cache'] = DRUPAL_NO_CACHE; return $blocks; } } |