summaryrefslogtreecommitdiff
path: root/modules/node
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/node
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/node')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 0561adb20..34b1c8193 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1761,9 +1761,9 @@ function node_revision_list($node) {
}
/**
- * Implement hook_block_list().
+ * Implement hook_block_info().
*/
-function node_block_list() {
+function node_block_info() {
$blocks['syndicate']['info'] = t('Syndicate');
// Not worth caching.
$blocks['syndicate']['cache'] = BLOCK_NO_CACHE;