summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-21 11:17:46 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-09-21 11:17:46 +0000
commit62269b71135bd7dca7c6adf7618609afed561ba8 (patch)
tree7391d8a8abb49ebad812a7893156973d2a55df42 /roundcubemail/program/steps
parentdff43bfebb3ba1b3cd07ef6819fbf52d2bcc5411 (diff)
Add option 'searchonly' for address books; currently used by LDAP directories
git-svn-id: https://svn.roundcube.net/trunk@5258 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/addressbook/list.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/addressbook/list.inc b/roundcubemail/program/steps/addressbook/list.inc
index dbc86e20f..313b52ea1 100644
--- a/roundcubemail/program/steps/addressbook/list.inc
+++ b/roundcubemail/program/steps/addressbook/list.inc
@@ -73,6 +73,9 @@ else {
// get contacts for this user
$result = $CONTACTS->list_records(array('name'));
+
+ if (!$result->count && $result->searchonly)
+ $OUTPUT->show_message('contactsearchonly', 'notice');
}
// update message count display