summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-14 17:03:43 +0000
committeralecpl <alec@alec.pl>2011-12-14 17:03:43 +0000
commita9ed78ace19375b6f660cd7371b6b9e57164584d (patch)
tree6904ec3e9a1210799afde3b0cb13c0740394a22c
parent01d0affaa188c016ba47031ede49591fd52ed40f (diff)
- Fix "Call to undefined method rcube_imap_generic::delete()" (#1488252)
-rw-r--r--program/include/rcube_imap_generic.php2
1 files changed, 1 insertions, 1 deletions
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) {