summaryrefslogtreecommitdiff
path: root/modules/statistics
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-31 17:06:10 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-31 17:06:10 +0000
commitb4786ff0eeed2bc50d665e71bd18ecd5260304c1 (patch)
treefbf68db46c5eea78f16263bf639638571093fad3 /modules/statistics
parent730adaf7178fbf683e5f51a0d3d192edd1c423e5 (diff)
downloadbrdo-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.module2
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;
}
}