summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/func.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-01-05 16:04:59 +0000
committerthomascube <thomas@roundcube.net>2012-01-05 16:04:59 +0000
commitb611d3a5dbc502c5a2077f82673d78bc30e925be (patch)
treeb854adb4a61aa853d9315954afcd31dded414463 /program/steps/addressbook/func.inc
parentfc643e985a4f8840df3456651c045e8699556289 (diff)
Simplify
Diffstat (limited to 'program/steps/addressbook/func.inc')
-rw-r--r--program/steps/addressbook/func.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index bb7a9850e..dd1a4b936 100644
--- a/program/steps/addressbook/func.inc
+++ b/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) {