From 0597c9e48a895603f97632741231946cf6ba24e3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 29 Aug 2009 05:46:04 +0000 Subject: - Patch #560746 by dropcube: rename hook_block_list() to hook_block_info() for consistency in the API. --- modules/statistics/statistics.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/statistics/statistics.module') 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. -- cgit v1.2.3