diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:14:23 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 00:14:23 +0000 |
commit | 2c552193154dd49a335b883019e216430a097790 (patch) | |
tree | 0105ac8012cddcf8f4f2b63a27f66d0457dfd5cd /modules/help | |
parent | 00280ca9885a668dd28831cacd536d11f98df36f (diff) | |
download | brdo-2c552193154dd49a335b883019e216430a097790.tar.gz brdo-2c552193154dd49a335b883019e216430a097790.tar.bz2 |
#497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading.
Diffstat (limited to 'modules/help')
-rw-r--r-- | modules/help/help.module | 2 | ||||
-rw-r--r-- | modules/help/help.test | 2 |
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']; } |