diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-05-06 12:18:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-05-06 12:18:54 +0000 |
commit | 2e18cb8924eb9a83a0ec9857f405ed038a1d3ded (patch) | |
tree | 5159327c54df6625e8377db268e8b074b43ae79c /modules/help | |
parent | c100468cf232d34b85534277d3fc01ee95f02256 (diff) | |
download | brdo-2e18cb8924eb9a83a0ec9857f405ed038a1d3ded.tar.gz brdo-2e18cb8924eb9a83a0ec9857f405ed038a1d3ded.tar.bz2 |
- Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al. Can you say 'registry'? Drupal now maintains an internal registry of
all functions or classes in the system, allowing it to lazy-load code files as
needed (reducing the amount of code that must be parsed on each request). The
list of included files is cached per menu callback for subsequent loading by
the menu router. This way, a given page request will have all the code it needs
but little else, minimizing time spent parsing unneeded code.
Diffstat (limited to 'modules/help')
-rw-r--r-- | modules/help/help.info | 2 | ||||
-rw-r--r-- | modules/help/help.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/help/help.info b/modules/help/help.info index 503f73957..cdf601be6 100644 --- a/modules/help/help.info +++ b/modules/help/help.info @@ -4,3 +4,5 @@ description = Manages the display of online help. package = Core - optional version = VERSION core = 7.x +files[] = help.module +files[] = help.admin.inc diff --git a/modules/help/help.module b/modules/help/help.module index ee972498d..00a9b9a34 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', ); } |