From b4786ff0eeed2bc50d665e71bd18ecd5260304c1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 31 Aug 2009 17:06:10 +0000 Subject: - Patch #495968 by Frando, moshe weitzman: added drupal_render() cache pattern. Start using it for blocks. --- modules/statistics/statistics.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/statistics') 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; } } -- cgit v1.2.3