Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
help.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
12 Aug 2007 at 21:23 UTC
Updated:
4 Sep 2007 at 12:21 UTC
Jump to comment: Most recent file
Small module, but over 50% savings. :-)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | more_help_1.patch | 832 bytes | pwolanin |
| #1 | help_13.patch | 8.63 KB | Crell |
| help_12.patch | 8.63 KB | Crell |
Comments
Comment #1
Crell commentedKeeping up with HEAD.
Comment #2
pwolanin commentedno! - this just broke per-page help.
Comment #3
pwolanin commentedmore details:
in menu.inc, function menu_get_active_help() invokes
module_hook('help', 'page'). However, function help_page() is moved to help.admin.inc so does not exist. Thus we never see the "more help" link on admin pages.So, fuction menu_get_active_help() could use some optimization anyhow, but this bug needs to be fixed.
Comment #4
pwolanin commentedok, seems we don't really need to invoke that function - it's just a check if the help module is enabled. So, we can substitute with
module_exists().Comment #5
dries commentedGood catch, and nice clean-up too!
Comment #6
(not verified) commented