sqimap_msgs_list_delete was calling sqimap_run_command using a variable ($handle_erro...
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 2 Dec 2002 21:36:56 +0000 (21:36 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 2 Dec 2002 21:36:56 +0000 (21:36 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4207 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_messages.php

index 29cc0eebc8033f61abac59b8af7451fa60617b34..d4d754d95a1adde89c36e7124b15301883392589 100755 (executable)
@@ -43,7 +43,7 @@ function sqimap_msgs_list_delete ($imap_stream, $mailbox, $id) {
     if (($move_to_trash == true) && (sqimap_mailbox_exists($imap_stream, $trash_folder) && ($mailbox != $trash_folder))) {
         $read = sqimap_run_command ($imap_stream, "COPY $msgs_id \"$trash_folder\"", true, $response, $message, $uid_support);
     }
-    $read = sqimap_run_command ($imap_stream, "STORE $msgs_id +FLAGS (\\Deleted)", $handle_errors, $response, $message, $uid_support);
+    $read = sqimap_run_command ($imap_stream, "STORE $msgs_id +FLAGS (\\Deleted)", true, $response, $message, $uid_support);
 }