* Fix for the UW/mh problem with deleting messages.
[squirrelmail.git] / functions / imap_mailbox.php
index e879466937288e240a02b88c47c505786fadf5f0..371648fdd9ddb9e8e121229f6301d568c5992cce 100755 (executable)
@@ -15,7 +15,6 @@
     **  Expunges a mailbox 
     ******************************************************************************/
    function sqimap_mailbox_expunge ($imap_stream, $mailbox,$handle_errors = true) {
-      sqimap_mailbox_select ($imap_stream, $mailbox);
       fputs ($imap_stream, "a001 EXPUNGE\r\n");
       $read = sqimap_read_data($imap_stream, "a001", $handle_errors, $response, $message);
    }