Changeset 3736 in subversion


Ignore:
Timestamp:
Jun 9, 2010 8:17:22 AM (3 years ago)
Author:
alec
Message:
  • Increase pagesize to 99999 when exporting contacts
  • Improve performance by disabling counter query when exporting contacts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/addressbook/export.inc

    r2672 r3736  
    2222// get contacts for this user 
    2323$CONTACTS->set_page(1); 
    24 $CONTACTS->set_pagesize(999); 
    25 $result = $CONTACTS->list_records(); 
     24$CONTACTS->set_pagesize(99999); 
     25$result = $CONTACTS->list_records(null, 0, true); 
    2626 
    2727// send downlaod headers 
Note: See TracChangeset for help on using the changeset viewer.