[horde] hooks.php expected?

Michael J Rubinsky mrubinsk at horde.org
Wed Feb 15 15:53:14 UTC 2017


Quoting Torben Dannhauer <torben at dannhauer.info>:

> Hi,
>
>
>
> currntly I try to hunt down a memory problem and discovered that horde
> throws a lot of exceptions regarding hooks.
>
>
>
> Is it expected to have hooks.php files present?

No, it's not expected. The way we currently handle Hooks is by  
wrapping each call to each Horde::callHook() in a try/catch block that  
catches the Horde_Exception_HookNotSet exception. In most cases, we  
simply ignore the exception.

>
>
>
> Thanks,
>
> Torben
>
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3282 bytes
Desc: S/MIME Signature
URL: <https://lists.horde.org/archives/horde/attachments/20170215/af3769d4/attachment.bin>


More information about the horde mailing list