summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-05 16:04:59 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-05 16:04:59 +0000
commit5900fd0635414bb030dbcb45e4a79e7a37da932a (patch)
tree9626277197d926d4b969133d67e00a2e3f228617
parentea8baf9f10bd205a7cc469f5ae2f1247121cc14b (diff)
Simplify
git-svn-id: https://svn.roundcube.net/trunk@5722 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/addressbook/func.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc
index bb7a9850e..dd1a4b936 100644
--- a/roundcubemail/program/steps/addressbook/func.inc
+++ b/roundcubemail/program/steps/addressbook/func.inc
@@ -56,10 +56,7 @@ $CONTACT_COLTYPES = array(
// TODO: define fields for vcards like GEO, KEY
);
-$PAGE_SIZE = $RCMAIL->config->get('addressbook_pagesize');
-if (!$PAGE_SIZE) {
- $PAGE_SIZE = $RCMAIL->config->get('pagesize', 50);
-}
+$PAGE_SIZE = $RCMAIL->config->get('addressbook_pagesize', $RCMAIL->config->get('pagesize', 50));
// Addressbook UI
if (!$RCMAIL->action && !$OUTPUT->ajax_call) {