summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-25 08:14:56 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-25 08:14:56 +0200
commitfd49626c2b34e03b84aff8aba9b0993b4b1bedf9 (patch)
tree8dec6cff622b2b344583f868582642a82d47f504 /program/include/rcube_imap.php
parente92a89d2c29b6591a04992902e85206e4845085d (diff)
Add deprecated alias clear_mailbox()
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 87a23bdb3..a9c00b5e5 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -4036,6 +4036,11 @@ class rcube_imap extends rcube_storage
return $this->delete_folder($folder);
}
+ function clear_mailbox($folder = null)
+ {
+ return $this->clear_folder($folder);
+ }
+
public function mailbox_exists($folder, $subscription=false)
{
return $this->folder_exists($folder, $subscription);