From: pdontthink Date: Sun, 13 Mar 2005 01:54:30 +0000 (+0000) Subject: Return to message list after sending a resumed draft; previous behavior was a bit... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=04775982b2c52389c84a92b51621421068d5e677;p=squirrelmail.git Return to message list after sending a resumed draft; previous behavior was a bit silly git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8998 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/delete_message.php b/src/delete_message.php index d7f56b91..fcde0e72 100644 --- a/src/delete_message.php +++ b/src/delete_message.php @@ -75,16 +75,11 @@ $location = get_location(); if (isset($where) && isset($what)) { header("Location: $location/search.php?where=" . $where . '&what=' . $what . '&mailbox=' . urlencode($mailbox)); -} else { - if (!empty($saved_draft) || !empty($mail_sent)) { - header("Location: $location/compose.php?mail_sent=$mail_sent&saved_draft=$saved_draft"); - } - else { - header("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=" . - urlencode($mailbox)); - } } +header("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=" . + urlencode($mailbox)); + sqimap_logout($imapConnection); -?> \ No newline at end of file +?>