- Increase pagesize to 99999 when exporting contacts

- Improve performance by disabling counter query when exporting contacts
release-0.6
alecpl 15 years ago
parent 7837b2c723
commit 40d43b71b0

@ -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();

Loading…
Cancel
Save