From e472110e2cc6b6375b851f4439e0a1aafedbb03f Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 25 Jan 2012 08:27:58 +0000 Subject: Added new plugin hook 'message_draftsaved' --- program/steps/mail/sendmail.inc | 1 + 1 file changed, 1 insertion(+) 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'); -- cgit v1.2.3