summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-01-25 08:27:58 +0000
committerthomascube <thomas@roundcube.net>2012-01-25 08:27:58 +0000
commite472110e2cc6b6375b851f4439e0a1aafedbb03f (patch)
tree4e9b76a50cdea5abe714f3fc71002ec10cc13a07 /program
parent48f04d368e67fe61796c18aaf72df17465a74004 (diff)
Added new plugin hook 'message_draftsaved'
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/sendmail.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index b06c6204b..0f776f031 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -740,6 +740,7 @@ if ($savedraft) {
$saved = $draft_idx->get_element('FIRST');
}
$COMPOSE['param']['draft_uid'] = $saved;
+ $RCMAIL->plugins->exec_hook('message_draftsaved', array('msgid' => $msgid, 'uid' => $saved, 'folder' => $store_target));
// display success
$OUTPUT->show_message('messagesaved', 'confirmation');