diff options
-rw-r--r-- | program/include/rcube_imap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 6db15dd24..b6a44896e 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -2896,10 +2896,10 @@ class rcube_imap extends rcube_storage // get list of folders if ((strpos($folder, '%') === false) && (strpos($folder, '*') === false)) { - $sub_mboxes = $this->list_unsubscribed('', $folder . $delm . '*'); + $sub_mboxes = $this->list_folders('', $folder . $delm . '*'); } else { - $sub_mboxes = $this->list_unsubscribed(); + $sub_mboxes = $this->list_folders(); } // send delete command to server |