summaryrefslogtreecommitdiff
path: root/modules/book
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/book
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/book')
-rw-r--r--modules/book/book.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 4385805d7..1eab5d699 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -207,9 +207,9 @@ function book_field_build_modes($obj_type) {
}
/**
- * Implement hook_block_list().
+ * Implement hook_block_info().
*/
-function book_block_list() {
+function book_block_info() {
$block = array();
$block['navigation']['info'] = t('Book navigation');
$block['navigation']['cache'] = BLOCK_CACHE_PER_PAGE | BLOCK_CACHE_PER_ROLE;