diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-08-29 05:46:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-08-29 05:46:04 +0000 |
commit | 0597c9e48a895603f97632741231946cf6ba24e3 (patch) | |
tree | 87e1164ba6d20647b986351c662ad4df6d529500 /modules/statistics | |
parent | fb0275fa6a7d67f80bb865deb25f66707082eb34 (diff) | |
download | brdo-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/statistics')
-rw-r--r-- | modules/statistics/statistics.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 533490c1f..1551d1513 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -294,9 +294,9 @@ function statistics_get($nid) { } /** - * Implement hook_block_list(). + * Implement hook_block_info(). */ -function statistics_block_list() { +function statistics_block_info() { if (variable_get('statistics_count_content_views', 0)) { $blocks['popular']['info'] = t('Popular content'); // Too dynamic to cache. |