6.0.0-alpha12
6/12/25

[#9398] hook calls don't work in ansel
Summary hook calls don't work in ansel
Queue Ansel
Queue Version 1.1.2
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester michael (at) bigmichi1 (dot) de
Created 11/20/2010 (5318 days ago)
Due
Updated 11/21/2010 (5317 days ago)
Assigned
Resolved 11/21/2010 (5317 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/21/2010 04:47:15 AM Michael Rubinsky Comment #3
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Committed, thanks!
11/21/2010 04:44:52 AM CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

Fix calling hooks in Ansel
Bug: 9398
Submitted by: michael (at) bigmichi1 (dot) de
http://cvs.horde.org/diff.php/ansel/lib/Ansel.php?rt=horde&r1=1.517.2.84&r2=1.517.2.85&ty=u
11/20/2010 08:02:02 AM michael (at) bigmichi1 (dot) de Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ansel
Summary ⇒ hook calls don't work in ansel
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
when i tried the user age hook nothing worked, after enabling the hook 
in administration interface and commenting out the example in hooks.php.
after some time of debugging the Ansel.php file, i saw that the hook 
is called with result = Horde::callHook('_ansel_hook_user_age'); and 
this doesn't work.
after i changed the line to $result = 
Horde::callHook('_ansel_hook_user_age', array(), 'ansel'); everything 
works like expected.
also the download hook has the same problem, the callHook method is 
missing the application.

Saved Queries