From 5900fd0635414bb030dbcb45e4a79e7a37da932a Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 5 Jan 2012 16:04:59 +0000 Subject: Simplify git-svn-id: https://svn.roundcube.net/trunk@5722 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/func.inc | 5 +---- 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.3