/**
* delete_message.php
*
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Deletes a meesage from the IMAP server
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
+?>