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

trac at roundcube.net trac at roundcube.net
Tue Sep 20 21:17:04 CEST 2011


Author: alec
Date: 2011-09-20 14:17:04 -0500 (Tue, 20 Sep 2011)
New Revision: 5254

Modified:
   trunk/roundcubemail/program/include/rcube_imap.php
Log:
- Fix listing messages on servers without SORT and THREAD command


Modified: trunk/roundcubemail/program/include/rcube_imap.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_imap.php	2011-09-20 18:30:27 UTC (rev 5253)
+++ trunk/roundcubemail/program/include/rcube_imap.php	2011-09-20 19:17:04 UTC (rev 5254)
@@ -911,7 +911,7 @@
         }
         // fetch specified header for all messages and sort
         else if ($msg_index = $this->conn->fetchHeaderIndex($mailbox, "1:*",
-            $this->sort_field, $this->skip_deleted, true)
+            $this->sort_field, $this->skip_deleted)
         ) {
             asort($msg_index); // ASC
             $msg_index = array_keys($msg_index);
@@ -923,7 +923,7 @@
                 $msg_index = array_slice($msg_index, ($this->sort_order == 'DESC' ? 0 : -$slice), $slice);
 
             // fetch reqested headers from server
-            $a_msg_headers = $this->fetch_headers($mailbox, $msg_index, true);
+            $a_msg_headers = $this->fetch_headers($mailbox, $msg_index);
         }
 
         // return empty array if no messages found

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



More information about the Svn mailing list