summaryrefslogtreecommitdiff
path: root/modules/help.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/help.module')
-rw-r--r--modules/help.module14
1 files changed, 6 insertions, 8 deletions
diff --git a/modules/help.module b/modules/help.module
index 8d92d9611..254432a7b 100644
--- a/modules/help.module
+++ b/modules/help.module
@@ -1,14 +1,12 @@
<?php
-function help_module($name) {
- if (module_hook($name, "help")) {
- print "<H2><A NAME=\"$name\">". ucfirst($name) ." module</A></H2>";
- print module_invoke($name, "help");
- }
-}
-
function help_admin() {
- module_iterate("help_module");
+ foreach (module_list() as $name) {
+ if (module_hook($name, "help")) {
+ print "<H2>". ucfirst($name) ." module</H2>";
+ print module_invoke($name, "help");
+ }
+ }
}
?>