[Svn] r3736 - trunk/roundcubemail/program/steps/addressbook

trac at roundcube.net trac at roundcube.net
Wed Jun 9 14:17:22 CEST 2010


Author: alec
Date: 2010-06-09 07:17:22 -0500 (Wed, 09 Jun 2010)
New Revision: 3736

Modified:
   trunk/roundcubemail/program/steps/addressbook/export.inc
Log:
- Increase pagesize to 99999 when exporting contacts
- Improve performance by disabling counter query when exporting contacts


Modified: trunk/roundcubemail/program/steps/addressbook/export.inc
===================================================================
--- trunk/roundcubemail/program/steps/addressbook/export.inc	2010-06-09 11:19:28 UTC (rev 3735)
+++ trunk/roundcubemail/program/steps/addressbook/export.inc	2010-06-09 12:17:22 UTC (rev 3736)
@@ -21,8 +21,8 @@
 
 // get contacts for this user
 $CONTACTS->set_page(1);
-$CONTACTS->set_pagesize(999);
-$result = $CONTACTS->list_records();
+$CONTACTS->set_pagesize(99999);
+$result = $CONTACTS->list_records(null, 0, true);
 
 // send downlaod headers
 send_nocacheing_headers();

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



More information about the Svn mailing list