[Svn] r2462 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Sat May 9 18:35:21 CEST 2009


Author: alec
Date: 2009-05-09 11:35:20 -0500 (Sat, 09 May 2009)
New Revision: 2462

Modified:
   trunk/roundcubemail/program/include/rcube_imap.php
Log:
- fix \Seen flag setting with enable_caching=true (#1485843)


Modified: trunk/roundcubemail/program/include/rcube_imap.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_imap.php	2009-05-09 07:52:29 UTC (rev 2461)
+++ trunk/roundcubemail/program/include/rcube_imap.php	2009-05-09 16:35:20 UTC (rev 2462)
@@ -1566,14 +1566,8 @@
     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 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list