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/user/user.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/user') diff --git a/modules/user/user.module b/modules/user/user.module index 72ffbfdcb..bfabe61d0 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -998,13 +998,13 @@ function user_block_info() { $blocks['login']['info'] = t('User login'); // Not worth caching. - $blocks['login']['cache'] = BLOCK_NO_CACHE; + $blocks['login']['cache'] = DRUPAL_NO_CACHE; $blocks['new']['info'] = t('Who\'s new'); // Too dynamic to cache. $blocks['online']['info'] = t('Who\'s online'); - $blocks['online']['cache'] = BLOCK_NO_CACHE; + $blocks['online']['cache'] = DRUPAL_NO_CACHE; return $blocks; } -- cgit v1.2.3