summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-19 13:51:51 +0000
committeralecpl <alec@alec.pl>2010-10-19 13:51:51 +0000
commit854cf227ace9e0880e68bbc9a92669f7ac410f1c (patch)
treed352fd8d53d99b438a91936b8380b1518e0c5641 /program/include/rcube_imap.php
parent93f79cbe1232848d166e9b3fff4b8ee172f98bdb (diff)
- Use unified command identifier (AXXXX)
- Use unified methods of command execution and response parsing
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index cd0ac200d..de54003d7 100644
--- a/program/include/rcube_imap.php
+++ b/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);
}