X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fmove_messages.php;h=ae7155c4bcb526524734b4275d5457a41796810e;hb=ca29b81004eea3cff3f249e95235ba544730a4e7;hp=87fb326cdaa29da6bead55d20ca18b9b61456dab;hpb=f9b3e5d9902a047bfa8995c1d795cae2226a857a;p=squirrelmail.git diff --git a/src/move_messages.php b/src/move_messages.php index 87fb326c..ae7155c4 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -51,7 +51,7 @@ // expunge-on-demand if user isn't using move_to_trash or auto_expunge if($expungeButton) { - sqimap_mailbox_expunge($imapConnection, $mailbox); + sqimap_mailbox_expunge($imapConnection, $mailbox, true); $location = get_location(); if ($where && $what) header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where)); @@ -102,7 +102,7 @@ $i++; } if ($auto_expunge) { - sqimap_mailbox_expunge($imapConnection, $mailbox); + sqimap_mailbox_expunge($imapConnection, $mailbox, true); } $location = get_location(); if ($where && $what) @@ -131,7 +131,7 @@ $i++; } if ($auto_expunge == true) - sqimap_mailbox_expunge($imapConnection, $mailbox); + sqimap_mailbox_expunge($imapConnection, $mailbox, true); $location = get_location(); if ($where && $what)