summaryrefslogtreecommitdiff
path: root/modules/user/user.module
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/user/user.module
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/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 2 insertions, 2 deletions
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;
}