diff options
author | thomascube <thomas@roundcube.net> | 2012-01-05 16:04:59 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-01-05 16:04:59 +0000 |
commit | b611d3a5dbc502c5a2077f82673d78bc30e925be (patch) | |
tree | b854adb4a61aa853d9315954afcd31dded414463 | |
parent | fc643e985a4f8840df3456651c045e8699556289 (diff) |
Simplify
-rw-r--r-- | program/steps/addressbook/func.inc | 5 |
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) { |