From: Michael M Slusarz Date: Fri, 19 Nov 2010 21:47:59 +0000 (-0700) Subject: Better hook documentation X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0bac2eadd7335f2cc3fd5295384bef21d739f70d;p=horde.git Better hook documentation --- diff --git a/imp/config/hooks.php.dist b/imp/config/hooks.php.dist index 1c165f723..fe7c894cd 100644 --- a/imp/config/hooks.php.dist +++ b/imp/config/hooks.php.dist @@ -164,8 +164,13 @@ class IMP_Hooks /** * Perform an action before a message has been sent. * + * If an exception is thrown, sending is cancelled and the exception text + * will be shown to the user in an error message. + * * @param Horde_Mime_Part $message The message content object. * @param Horde_Mime_Headers $headers The message headers object. + * + * @throws IMP_Compose_Exception */ // public function pre_sent($message, $headers) // {