diff options
author | Aleksander Machniak <machniak@kolabsys.com> | 2014-11-27 11:33:05 (GMT) |
---|---|---|
committer | Aleksander Machniak <machniak@kolabsys.com> | 2014-11-27 11:33:05 (GMT) |
commit | 6a7488f7311dc337270119ada1b8edeaa33c5054 (patch) | |
tree | d327741dec4514563bbcf7ff5d3b6ea438956f32 /plugins/libcalendaring | |
parent | 62ac800db735462cd74a5cf66c0ac23605aa816e (diff) | |
download | roundcubemail-plugins-kolab-6a7488f7311dc337270119ada1b8edeaa33c5054.tar.gz |
Performance: get_identity() -> list_emails(true)
Diffstat (limited to 'plugins/libcalendaring')
-rw-r--r-- | plugins/libcalendaring/lib/libcalendaring_itip.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/libcalendaring/lib/libcalendaring_itip.php b/plugins/libcalendaring/lib/libcalendaring_itip.php index 2ba1547..c68330d 100644 --- a/plugins/libcalendaring/lib/libcalendaring_itip.php +++ b/plugins/libcalendaring/lib/libcalendaring_itip.php @@ -41,7 +41,7 @@ class libcalendaring_itip $this->domain = $domain; $hook = $this->rc->plugins->exec_hook('calendar_load_itip', - array('identity' => $this->rc->user->get_identity())); + array('identity' => $this->rc->user->list_emails(true))); $this->sender = $hook['identity']; $this->plugin->add_hook('message_before_send', array($this, 'before_send_hook')); @@ -287,7 +287,7 @@ class libcalendaring_itip } $emails = $this->lib->get_user_emails(); - $me = $this->rc->user->get_identity(); + $me = $this->rc->user->list_emails(true); // find/create the delegate attendee $delegate_attendee = array( |