summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/export.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-09 12:17:22 +0000
committeralecpl <alec@alec.pl>2010-06-09 12:17:22 +0000
commit40d43b71b088676817f3e783e931efb983943b28 (patch)
treec31d1295be9173ebaf9d3908323df26e1d48f31a /program/steps/addressbook/export.inc
parent7837b2c72337631e62b659e67b488a0bc109b4d1 (diff)
- Increase pagesize to 99999 when exporting contacts
- Improve performance by disabling counter query when exporting contacts
Diffstat (limited to 'program/steps/addressbook/export.inc')
-rw-r--r--program/steps/addressbook/export.inc4
1 files 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();