From f20fb4f832a1e39afe5547618d9d4a14ce1df370 Mon Sep 17 00:00:00 2001 From: tokul Date: Wed, 6 Jul 2005 15:45:10 +0000 Subject: [PATCH] fix broken function first. work on usability later. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9725 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 3 +++ plugins/spamcop/setup.php | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1ea48029..d23ffa8c 100644 --- 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 ------------------------------- diff --git a/plugins/spamcop/setup.php b/plugins/spamcop/setup.php index d73d72cc..a71448c8 100755 --- a/plugins/spamcop/setup.php +++ b/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); } -- 2.25.1