diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-09 12:17:22 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-09 12:17:22 +0000 |
| commit | 8188ef4d31de695931b54ae689ddbbdc99a2dbf5 (patch) | |
| tree | f5ce2433a857e50722358dfa585cfb3bb47c45b7 /roundcubemail/program | |
| parent | fcb296251671086761d94cd37e3ec286bcf4a5e8 (diff) | |
- Increase pagesize to 99999 when exporting contacts
- Improve performance by disabling counter query when exporting contacts
git-svn-id: https://svn.roundcube.net/trunk@3736 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/export.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/steps/addressbook/export.inc b/roundcubemail/program/steps/addressbook/export.inc index 101006f87..7e6855e92 100644 --- a/roundcubemail/program/steps/addressbook/export.inc +++ b/roundcubemail/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(); |
