Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jul 2007 at 23:09 UTC
Updated:
21 Sep 2007 at 13:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
chx commentedhook_init is split into hook_init (the old !$may_cache) and hook_boot (this runs even for cached pages).
Comment #2
hass commentedAnd the new hook_init is not incompatible with aggressive mode caching and will function properly?
If so the following text and code need to be updated (admin/settings/performance in systems.module) to reflect this change:
old:
should be changed to
and text
changed into
Comment #3
hass commentedpatch attached
Comment #4
hass commentedAside, are you able to document the above on the modules update page, please.
Comment #5
gábor hojtsyChx, please do document the !$may_cache to hook_init change in the update docs (not only in the comments). Also it would be nice to double check, whether there are any other places additionaly to what hass noted where this change should be reflected in core.
Comment #6
hass commentedComment #7
gábor hojtsyAlthough there was no independent review here unfortunately, as far as I see, this is how things changed, so committed the patch. Thanks! Still needs to be documented, so setting to "needs work" as usual.
Comment #8
moshe weitzman commentedalready documented on module upgrade: http://drupal.org/node/114774#hook-boot-init. api docs are done too - http://api.drupal.org/api/function/hook_boot/6 (minor nit: the 'see also' should be a link)
Comment #9
(not verified) commented