summaryrefslogtreecommitdiff
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:16:06 +0200
commit575d34f974b5463325befd24e86737ea5d2d01c3 (patch)
tree3ab1227b63fd084421294448165471301aea9a65
parent2342acd93a4aa44fe9d4213e0a71edf6897dc1bf (diff)
Add deprecated alias clear_mailbox()
-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 1e6cf360b..a89fd164d 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -4119,6 +4119,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);