From a9ed78ace19375b6f660cd7371b6b9e57164584d Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 14 Dec 2011 17:03:43 +0000 Subject: - Fix "Call to undefined method rcube_imap_generic::delete()" (#1488252) --- program/include/rcube_imap_generic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index 3482439ff..9768b4a1f 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -1231,7 +1231,7 @@ class rcube_imap_generic { $num_in_trash = $this->countMessages($mailbox); if ($num_in_trash > 0) { - $res = $this->delete($mailbox, '1:*'); + $res = $this->flag($mailbox, '1:*', 'DELETED'); } if ($res) { -- cgit v1.2.3