summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-08-29 05:46:04 +0000
committerDries Buytaert <dries@buytaert.net>2009-08-29 05:46:04 +0000
commit0597c9e48a895603f97632741231946cf6ba24e3 (patch)
tree87e1164ba6d20647b986351c662ad4df6d529500 /modules/profile/profile.module
parentfb0275fa6a7d67f80bb865deb25f66707082eb34 (diff)
downloadbrdo-0597c9e48a895603f97632741231946cf6ba24e3.tar.gz
brdo-0597c9e48a895603f97632741231946cf6ba24e3.tar.bz2
- Patch #560746 by dropcube: rename hook_block_list() to hook_block_info() for consistency in the API.
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 28872b4b2..e7d7ac19d 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -133,9 +133,9 @@ function profile_menu() {
}
/**
- * Implement hook_block_list().
+ * Implement hook_block_info().
*/
- function profile_block_list() {
+ function profile_block_info() {
$blocks['author-information']['info'] = t('Author information');
$blocks['author-information']['cache'] = BLOCK_CACHE_PER_PAGE | BLOCK_CACHE_PER_ROLE;
return $blocks;