summaryrefslogtreecommitdiff
path: root/modules/profile
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/profile
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/profile')
-rw-r--r--modules/profile/profile.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index e7d7ac19d..efe8830fe 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -137,7 +137,7 @@ function profile_menu() {
*/
function profile_block_info() {
$blocks['author-information']['info'] = t('Author information');
- $blocks['author-information']['cache'] = BLOCK_CACHE_PER_PAGE | BLOCK_CACHE_PER_ROLE;
+ $blocks['author-information']['cache'] = DRUPAL_CACHE_PER_PAGE | DRUPAL_CACHE_PER_ROLE;
return $blocks;
}