From e472110e2cc6b6375b851f4439e0a1aafedbb03f Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Wed, 25 Jan 2012 03:27:58 -0500 Subject: [PATCH] Added new plugin hook 'message_draftsaved' --- program/steps/mail/sendmail.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index b06c620..0f776f0 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -740,6 +740,7 @@ $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'); -- Gitblit v1.9.1