summaryrefslogtreecommitdiff
path: root/plugins/tasklist
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-11-27 09:44:38 (GMT)
committerAleksander Machniak <alec@alec.pl>2014-11-27 09:44:38 (GMT)
commit62ac800db735462cd74a5cf66c0ac23605aa816e (patch)
treeed79b5a5ba81f4aaf4757c2d0e1eaf2bb66d1b25 /plugins/tasklist
parentae93c7b345f8ff3cb33302472ec53a27afbc250c (diff)
downloadroundcubemail-plugins-kolab-62ac800db735462cd74a5cf66c0ac23605aa816e.tar.gz
Use new rcube_user::list_emails() for better performance (#3970)
Diffstat (limited to 'plugins/tasklist')
-rw-r--r--plugins/tasklist/tasklist_ui.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tasklist/tasklist_ui.php b/plugins/tasklist/tasklist_ui.php
index 912514e..3258418 100644
--- a/plugins/tasklist/tasklist_ui.php
+++ b/plugins/tasklist/tasklist_ui.php
@@ -77,7 +77,7 @@ class tasklist_ui
$settings['sort_order'] = $this->rc->config->get('tasklist_sort_order', 'asc');
// get user identity to create default attendee
- foreach ($this->rc->user->list_identities() as $rec) {
+ foreach ($this->rc->user->list_emails() as $rec) {
if (!$identity)
$identity = $rec;
@@ -118,7 +118,7 @@ class tasklist_ui
{
$attrib['name'] = 'identity';
$select = new html_select($attrib);
- $identities = $this->rc->user->list_identities();
+ $identities = $this->rc->user->list_emails();
foreach ($identities as $ident) {
$select->add(format_email_recipient($ident['email'], $ident['name']), $ident['identity_id']);