From 4b72a1f49843aa64cdf90301ae71035c3e6cf30a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Fri, 31 Jul 2015 12:48:17 -0400 Subject: [PATCH] Fix error when using back button after sending an email (#1490009) --- program/steps/mail/func.inc | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 9a73432..6e2f982 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1754,20 +1754,6 @@ } /** - * clear message composing settings - */ -function rcmail_compose_cleanup($id) -{ - if (!isset($_SESSION['compose_data_'.$id])) { - return; - } - - $rcmail = rcmail::get_instance(); - $rcmail->plugins->exec_hook('attachments_cleanup', array('group' => $id)); - $rcmail->session->remove('compose_data_'.$id); -} - -/** * Send the MDN response * * @param mixed $message Original message object (rcube_message) or UID -- Gitblit v1.9.1