[Tickets #4456] Re: Allow preauthenticate hook to modify parameters
bugs@bugs.horde.org
bugs at bugs.horde.org
Mon Nov 13 09:13:36 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=4456
-----------------------------------------------------------------------
Ticket | 4456
Updated By | Ben Klang <ben at alkaloid.net>
Summary | Allow preauthenticate hook to modify parameters
Queue | Horde Framework Packages
Version | HEAD
Type | Enhancement
State | Feedback
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
Ben Klang <ben at alkaloid.net> (2006-11-13 09:13) wrote:
You're right, sorry about that.
I looked into trying to do the same modification to Horde::callHook() but
it is not possible with PHP4. callHook() sets $args to a default value of
array(). If the function signature is changed to specify $args as a
pass-by-reference, a parse error is thrown. According to the PHP
documentation this is valid in PHP5 but not PHP4. Unless I'm missing
something, this change isn't going to be possible (at least, not while
maintaining backward compatibility).
More information about the bugs
mailing list