diff options
author | alecpl <alec@alec.pl> | 2009-05-09 16:35:20 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-05-09 16:35:20 +0000 |
commit | ae1df26948104dcc0a97bd83b189a36c69f37977 (patch) | |
tree | de724e1185cc1457b6a157c1240690310fc29c13 /program/include/rcube_imap.php | |
parent | 40418dd16411484ed80553c78e85de0c7d80c0c7 (diff) |
- fix \Seen flag setting with enable_caching=true (#1485843)
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r-- | program/include/rcube_imap.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php index 8cb5c6dd0..4073c8a63 100644 --- a/program/include/rcube_imap.php +++ b/program/include/rcube_imap.php @@ -1566,14 +1566,8 @@ class rcube_imap if ($this->caching_enabled) { foreach ($uids as $uid) - { - $id = $this->_uid2id($uid); - if ($cached_headers = $this->get_cached_message($cache_key, $id)) - { - $this->remove_message_cache($cache_key, $id); - //$this->get_headers($uid); - } - } + if ($cached_headers = $this->get_cached_message($cache_key, $uid)) + $this->remove_message_cache($cache_key, $this->_uid2id($uid)); // close and re-open connection // this prevents connection problems with Courier |