thomascube
2005-10-16 9fee0ed9af6bb1daa3af2ff7290f5589040b4821
program/include/rcube_imap.inc
@@ -268,7 +268,7 @@
    else
      $count = iil_C_CountMessages($this->conn, $mailbox);
//print "/**** get messagecount for $mailbox ($mode): $count ****/\n";
// print "/**** get messagecount for $mailbox ($mode): $count ****/\n";
    if (is_array($a_mailbox_cache[$mailbox]))
      $a_mailbox_cache[$mailbox] = array();
@@ -312,8 +312,8 @@
      $a_header_index = iil_C_FetchHeaders($this->conn, $mailbox, "1:$max");
      $a_msg_headers = array();
      foreach ($a_header_index as $i => $headers)
      if (!$headers->deleted)
         $a_msg_headers[$headers->uid] = $headers;
      if (!$headers->deleted)
        $a_msg_headers[$headers->uid] = $headers;
        
// print "/**** fetch headers ****/\n";
      }
@@ -445,7 +445,7 @@
    $cache_key = $this->mailbox.'.msg';
    if ($this->caching_enabled && $result && ($a_cached_headers = $this->get_cache($cache_key)))
      {
      // close and re-open connection
      // close and re-open connection
      $this->reconnect();
      foreach ($uids as $uid)