summaryrefslogtreecommitdiff
path: root/modules/help
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-24 00:02:05 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-08-24 00:02:05 +0000
commit4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4 (patch)
tree91a4f64953675ba9204158ebca02276aec7555ba /modules/help
parentc98fd96c62e6a60f5e5e2476ebc38766e438c535 (diff)
downloadbrdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.gz
brdo-4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4.tar.bz2
*** empty log message ***
Diffstat (limited to 'modules/help')
-rw-r--r--modules/help/help.module2
-rw-r--r--modules/help/help.test2
2 files changed, 3 insertions, 1 deletions
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'];
}