diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:10:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:10:46 +0000 |
commit | e63e85020b6846c35624f04c60b40f1aa11db3b1 (patch) | |
tree | 908a1151a45ce37ae82dce00fffedb26b33ccde0 /modules/help | |
parent | 4ae238ea577ed0140df6fd034b06bfd7b0f0cdb4 (diff) | |
download | brdo-e63e85020b6846c35624f04c60b40f1aa11db3b1.tar.gz brdo-e63e85020b6846c35624f04c60b40f1aa11db3b1.tar.bz2 |
Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again.
Diffstat (limited to 'modules/help')
-rw-r--r-- | modules/help/help.module | 2 | ||||
-rw-r--r-- | modules/help/help.test | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/modules/help/help.module b/modules/help/help.module index 525b173a7..a8be2739e 100644 --- a/modules/help/help.module +++ b/modules/help/help.module @@ -15,7 +15,6 @@ 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) { @@ -25,7 +24,6 @@ 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 4cc73c181..be269085c 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) && function_exists($module->name . '_help')) { + if (file_exists($module->filename) && drupal_function_exists($module->name . '_help')) { $fullname = unserialize($module->info); $this->modules[$module->name] = $fullname['name']; } |