[Svn] r5843 - branches/release-0.7/program/steps/mail
trac at roundcube.net
trac at roundcube.net
Sun Jan 29 14:49:49 CET 2012
Author: thomasb
Date: 2012-01-29 07:49:49 -0600 (Sun, 29 Jan 2012)
New Revision: 5843
Modified:
branches/release-0.7/program/steps/mail/sendmail.inc
Log:
Backported r5820 and r5842
Modified: branches/release-0.7/program/steps/mail/sendmail.inc
===================================================================
--- branches/release-0.7/program/steps/mail/sendmail.inc 2012-01-29 13:49:02 UTC (rev 5842)
+++ branches/release-0.7/program/steps/mail/sendmail.inc 2012-01-29 13:49:49 UTC (rev 5843)
@@ -730,9 +730,10 @@
$saved = $draftuids[0];
}
$COMPOSE['param']['draft_uid'] = $saved;
+ $plugin = $RCMAIL->plugins->exec_hook('message_draftsaved', array('msgid' => $msgid, 'uid' => $saved, 'folder' => $store_target));
// display success
- $OUTPUT->show_message('messagesaved', 'confirmation');
+ $OUTPUT->show_message($plugin['message'] ? $plugin['message'] : 'messagesaved', 'confirmation');
// update "_draft_saveid" and the "cmp_hash" to prevent "Unsaved changes" warning
$OUTPUT->command('set_draft_id', $msgid);
_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn
More information about the Svn
mailing list