alecpl
2010-05-18 677e1f26fe47cc0c3e0819cb99a9024af49a619c
program/include/rcube_imap.php
@@ -2716,7 +2716,7 @@
        if ($result) {
            $delm = $this->get_hierarchy_delimiter();
            // check if mailbox children are subscribed
            foreach ($a_subscribed as $c_subscribed)
                if (preg_match('/^'.preg_quote($mailbox.$delm, '/').'/', $c_subscribed)) {
@@ -2727,7 +2727,7 @@
            // clear cache
            $this->clear_message_cache($mailbox.'.msg');
            $this->clear_cache('mailboxes');
            $this->clear_cache('mailboxes');
        }
        // try to subscribe it
@@ -2768,7 +2768,7 @@
                    $deleted = true;
                    $this->clear_message_cache($mailbox.'.msg');
               }
                foreach ($sub_mboxes as $c_mbox) {
                    if ($c_mbox != 'INBOX') {
                        $this->conn->unsubscribe($c_mbox);