From 4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 24 Aug 2009 00:02:05 +0000 Subject: *** empty log message *** --- modules/help/help.module | 2 ++ modules/help/help.test | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/help') diff --git a/modules/help/help.module b/modules/help/help.module index a8be2739e..525b173a7 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -15,6 +15,7 @@ function help_menu() { 'page callback' => 'help_main', 'access arguments' => array('access administration pages'), 'weight' => 9, + 'file' => 'help.admin.inc', ); foreach (module_implements('help', TRUE) as $module) { @@ -24,6 +25,7 @@ function help_menu() { 'page arguments' => array(2), 'access arguments' => array('access administration pages'), 'type' => MENU_CALLBACK, + 'file' => 'help.admin.inc', ); } diff --git a/modules/help/help.test b/modules/help/help.test index be269085c..4cc73c181 100644 --- a/modules/help/help.test +++ b/modules/help/help.test @@ -81,7 +81,7 @@ class HelpTestCase extends DrupalWebTestCase { $this->modules = array(); $result = db_query("SELECT name, filename, info FROM {system} WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC"); foreach ($result as $module) { - if (file_exists($module->filename) && drupal_function_exists($module->name . '_help')) { + if (file_exists($module->filename) && function_exists($module->name . '_help')) { $fullname = unserialize($module->info); $this->modules[$module->name] = $fullname['name']; } -- cgit v1.2.3