fix broken function first. work on usability later.
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 6 Jul 2005 15:45:10 +0000 (15:45 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 6 Jul 2005 15:45:10 +0000 (15:45 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9725 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
plugins/spamcop/setup.php

index 1ea4802..d23ffa8 100644 (file)
--- a/ChangeLog
+++ b/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
 -------------------------------
index d73d72c..a71448c 100755 (executable)
@@ -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);
     }