alecpl
2010-06-09 40d43b71b088676817f3e783e931efb983943b28
- Increase pagesize to 99999 when exporting contacts
- Improve performance by disabling counter query when exporting contacts


1 files modified
4 ■■■■ changed files
program/steps/addressbook/export.inc 4 ●●●● patch | view | raw | blame | history
program/steps/addressbook/export.inc
@@ -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();