Made the handle_errors flag to sqimap_mailbox_expunge default to true.
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Nov 2000 19:42:30 +0000 (19:42 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Nov 2000 19:42:30 +0000 (19:42 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@856 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_mailbox.php
functions/strings.php

index a096d6c..48bd446 100755 (executable)
@@ -8,7 +8,7 @@
    /******************************************************************************
     **  Expunges a mailbox 
     ******************************************************************************/
-   function sqimap_mailbox_expunge ($imap_stream, $mailbox,$handle_errors) {
+   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);
index 6787c40..459eeb7 100644 (file)
    
 
    /** Returns an array of email addresses **/
+   /* Be cautious of "user@host.com" */
    function parseAddrs($text) {
       if (trim($text) == "")
          return;