summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-19 13:51:51 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-19 13:51:51 +0000
commit32a88c64fcebf03fbbe8b9d43746a963097627fb (patch)
tree3e5ad14a95654ef82bbae0aaf49abfefcd63e83f /roundcubemail/program/include/rcube_imap.php
parent5e3bb57f97237ef27733e98f164e9850017a1e7c (diff)
- Use unified command identifier (AXXXX)
- Use unified methods of command execution and response parsing git-svn-id: https://svn.roundcube.net/trunk@4108 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_imap.php')
-rw-r--r--roundcubemail/program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php
index cd0ac200d..de54003d7 100644
--- a/roundcubemail/program/include/rcube_imap.php
+++ b/roundcubemail/program/include/rcube_imap.php
@@ -2665,7 +2665,7 @@ class rcube_imap
$result = $this->conn->expunge($mailbox, $a_uids);
- if ($result>=0 && $clear_cache) {
+ if ($result && $clear_cache) {
$this->clear_message_cache($mailbox.'.msg');
$this->_clear_messagecount($mailbox);
}