From 40d43b71b088676817f3e783e931efb983943b28 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 9 Jun 2010 12:17:22 +0000 Subject: - Increase pagesize to 99999 when exporting contacts - Improve performance by disabling counter query when exporting contacts --- program/steps/addressbook/export.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc index 101006f87..7e6855e92 100644 --- a/program/steps/addressbook/export.inc +++ b/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(); -- cgit v1.2.3