projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48370ce
)
Better hook documentation
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 19 Nov 2010 21:47:59 +0000
(14:47 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 19 Nov 2010 21:47:59 +0000
(14:47 -0700)
imp/config/hooks.php.dist
patch
|
blob
|
history
diff --git
a/imp/config/hooks.php.dist
b/imp/config/hooks.php.dist
index
1c165f7
..
fe7c894
100644
(file)
--- 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)
// {