From 0bac2eadd7335f2cc3fd5295384bef21d739f70d Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Fri, 19 Nov 2010 14:47:59 -0700 Subject: [PATCH] Better hook documentation --- imp/config/hooks.php.dist | 5 +++++ 1 file changed, 5 insertions(+) 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) // { -- 2.11.0