alecpl
2010-05-19 c435173eb411b9fb6a5f7c17cd408fb6591df111
- Fix handling errors of folder deletion (#1486705)


2 files modified
5 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcube_imap.php 4 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail
===========================
- Fix handling errors of folder deletion (#1486705)
- Parse untagged CAPABILITY response for LOGIN command (#1486742)
- Renamed all php-cli scripts to use .sh extension
- Some files from /bin + spellchecking actions moved to the new 'utils' task
program/include/rcube_imap.php
@@ -2764,7 +2764,7 @@
                // send delete command to server
                $result = $this->conn->deleteFolder($mailbox);
                if ($result >= 0) {
                if ($result) {
                    $deleted = true;
                    $this->clear_message_cache($mailbox.'.msg');
                }
@@ -2773,7 +2773,7 @@
                    if ($c_mbox != 'INBOX') {
                        $this->conn->unsubscribe($c_mbox);
                        $result = $this->conn->deleteFolder($c_mbox);
                        if ($result >= 0) {
                        if ($result) {
                            $deleted = true;
                            $this->clear_message_cache($c_mbox.'.msg');
                        }