summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring/libcalendaring.php
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/libcalendaring/libcalendaring.php
parentae93c7b345f8ff3cb33302472ec53a27afbc250c (diff)
downloadroundcubemail-plugins-kolab-62ac800db735462cd74a5cf66c0ac23605aa816e.tar.gz
Use new rcube_user::list_emails() for better performance (#3970)
Diffstat (limited to 'plugins/libcalendaring/libcalendaring.php')
-rw-r--r--plugins/libcalendaring/libcalendaring.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libcalendaring/libcalendaring.php b/plugins/libcalendaring/libcalendaring.php
index 78eaa24..95cbffb 100644
--- a/plugins/libcalendaring/libcalendaring.php
+++ b/plugins/libcalendaring/libcalendaring.php
@@ -381,7 +381,7 @@ class libcalendaring extends rcube_plugin
}
$emails[] = $this->rc->user->get_username();
- foreach ($this->rc->user->list_identities() as $identity) {
+ foreach ($this->rc->user->list_emails() as $identity) {
$emails[] = strtolower($identity['email']);
}