summaryrefslogtreecommitdiff
path: root/modules/statistics
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-06-30 19:46:58 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-06-30 19:46:58 +0000
commit9e6ef53c2c3f15ad580ebfe71b53899eb4683c11 (patch)
tree99f55c2dbe3537f9be7c8750424371f688e2f7b8 /modules/statistics
parent0995d62be320ced7c533d805fe887d78741bfbb8 (diff)
downloadbrdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.gz
brdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.bz2
#154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array
Diffstat (limited to 'modules/statistics')
-rw-r--r--modules/statistics/statistics.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index fc91dfe91..8973736e9 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -9,8 +9,8 @@
/**
* Implementation of hook_help().
*/
-function statistics_help($section) {
- switch ($section) {
+function statistics_help($path, $arg) {
+ switch ($path) {
case 'admin/help#statistics':
$output = '<p>'. t('The statistics module keeps track of numerous statistics of site usage. It counts how many times, and from where each of your posts is viewed. The statistics module can be used to learn many useful things about how users are interacting with each other and with your site.') .'</p>';
$output .= t('<p>Statistics module features</p>