Browse Source

fix broken function first. work on usability later.

tokul 20 years ago
parent
commit
ac7afc8e55
2 changed files with 4 additions and 2 deletions
  1. 3 0
      ChangeLog
  2. 1 2
      plugins/spamcop/setup.php

+ 3 - 0
ChangeLog

@@ -389,6 +389,9 @@ Version 1.5.1 -- CVS
     (#1212618).
   - Added Simple Green 2 and Simple Purple themes by Vicky Pyne (#1217066 
     and #1217069).
+  - sqimap_messages_delete|copy|flag and sqimap_get_small_header()
+    functions are removed from SquirrelMail IMAP API. Use sqimap_msgs_*
+    and sqimap_get_small_header_list() functions instead.
 
 Version 1.5.0 - 2 February 2004
 -------------------------------

+ 1 - 2
plugins/spamcop/setup.php

@@ -149,8 +149,7 @@ function spamcop_while_sending()
         $imapConnection = sqimap_login($username, $key, $imapServerAddress,
                 $imapPort, 0);
         sqimap_mailbox_select($imapConnection, $mailbox);
-        sqimap_messages_delete($imapConnection, $spamcop_is_composing,
-                $spamcop_is_composing, $mailbox);
+        sqimap_msgs_list_delete($imapConnection, $mailbox, array($spamcop_is_composing));
         if ($auto_expunge)
             sqimap_mailbox_expunge($imapConnection, $mailbox, true);
     }