summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_contacts.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-02-11 11:28:58 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-02-11 11:28:58 +0000
commit220e993edcdcf9e5c4e3b8a1bacf9ac55468295b (patch)
treec26b1a2bdab7f4668e20f0e8d2e9bdacae51f60a /roundcubemail/program/include/rcube_contacts.php
parent2f3bfecc096508226f66eaa152c65087c31ec9fe (diff)
User configurable setting how to display contact names in list
git-svn-id: https://svn.roundcube.net/trunk@5871 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_contacts.php')
-rw-r--r--roundcubemail/program/include/rcube_contacts.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/roundcubemail/program/include/rcube_contacts.php b/roundcubemail/program/include/rcube_contacts.php
index 1a4950d84..11fbde09a 100644
--- a/roundcubemail/program/include/rcube_contacts.php
+++ b/roundcubemail/program/include/rcube_contacts.php
@@ -254,13 +254,6 @@ class rcube_contacts extends rcube_addressbook
$sql_arr['email'] = array_map('trim', $sql_arr['email']);
}
- // make sure we have a name to display
- if (empty($sql_arr['name'])) {
- if (empty($sql_arr['email']))
- $sql_arr['email'] = $this->get_col_values('email', $sql_arr, true);
- $sql_arr['name'] = $sql_arr['email'][0];
- }
-
$this->result->add($sql_arr);
}