diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-11-27 10:08:55 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-11-27 10:08:55 +0100 |
commit | 2f4678908170b8af04a0eae2195bb3c0f732ed58 (patch) | |
tree | 1c3b15557cf48bc1e97712bdbdbeeebf5783c509 /program/steps | |
parent | 0b36d151572e050b51d82e7429fee847ebb33e22 (diff) |
Added rcube_user::list_emails() method with better performance than list_identities()
which should be used always if we want only all user email addresses (with names)
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/settings/func.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 3ec318566..887aebc3b 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -94,9 +94,9 @@ function rcmail_identities_list($attrib) } // get identities list and define 'mail' column - $list = $RCMAIL->user->list_identities(); + $list = $RCMAIL->user->list_emails(); foreach ($list as $idx => $row) { - $list[$idx]['mail'] = trim($row['name'] . ' <' . rcube_utils::idn_to_utf8($row['email']) .'>'); + $list[$idx]['mail'] = trim($row['name'] . ' <' . rcube_utils::idn_to_utf8($row['email']) . '>'); } // get all identites from DB and define list of cols to be displayed |