summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-25 08:27:58 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-25 08:27:58 +0000
commita02777749fa2f6e6ff5824b8e5d015fe2f0508b9 (patch)
tree57fd08966973d724d4301b0f1acd4dcd29a6f0da /roundcubemail/program
parenta9ae587284fd1df155579e4368cbfc66d40f93c8 (diff)
Added new plugin hook 'message_draftsaved'
git-svn-id: https://svn.roundcube.net/trunk@5820 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/sendmail.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc
index b06c6204b..0f776f031 100644
--- a/roundcubemail/program/steps/mail/sendmail.inc
+++ b/roundcubemail/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');