summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_imap.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-11 20:16:09 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-11 20:16:09 +0200
commitf3b55ee8e8ee5f12214396249e84ac841d468455 (patch)
tree6e03d11153bf799fd487d5be66a344ab1a78c47a /program/lib/Roundcube/rcube_imap.php
parenta1679cb650d62bac957419d287c72ca59d800d5c (diff)
Do not reset messages count in set_folder()
Diffstat (limited to 'program/lib/Roundcube/rcube_imap.php')
-rw-r--r--program/lib/Roundcube/rcube_imap.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index 39057a89a..0a84f8d08 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -308,14 +308,7 @@ class rcube_imap extends rcube_storage
*/
public function set_folder($folder)
{
- if ($this->folder == $folder) {
- return;
- }
-
$this->folder = $folder;
-
- // clear messagecount cache for this folder
- $this->clear_messagecount($folder);
}