summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-05-16 11:30:04 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2013-06-21 10:06:00 (GMT)
commit64afdf923ec93fd6ae689c3fa06ba10138929a7f (patch)
tree3e4e16a61ed646b3c1a1eb68bd97085b59a2fbc9
parent9fe8791236a5f23c27b015d82a6b7b3c806a550c (diff)
downloadroundcubemail-plugins-kolab-64afdf923ec93fd6ae689c3fa06ba10138929a7f.tar.gz
Add support for URL property in xcal based objects
-rw-r--r--plugins/libkolab/lib/kolab_format_xcal.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/libkolab/lib/kolab_format_xcal.php b/plugins/libkolab/lib/kolab_format_xcal.php
index f173a2e..868316c 100644
--- a/plugins/libkolab/lib/kolab_format_xcal.php
+++ b/plugins/libkolab/lib/kolab_format_xcal.php
@@ -244,6 +244,12 @@ abstract class kolab_format_xcal extends kolab_format
$this->obj->setClassification($this->sensitivity_map[$object['sensitivity']]);
$this->obj->setCategories(self::array2vector($object['categories']));
+ $vurls = new vectorurl;
+ foreach ((array)$object['url'] as $url) {
+ $vurls->push(new Url(strval($url));
+ }
+ $this->obj->setUrls($vurls);
+
// process event attendees
$attendees = new vectorattendee;
foreach ((array)$object['attendees'] as $attendee) {