summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-05-16 12:51:32 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2013-06-21 10:09:03 (GMT)
commitba7303572f1d5553900ee5f6789662fbd05f7ffc (patch)
tree7584e64b1f61e633c0f2888ceede246c9ccffdd5 /plugins
parent9f1e3927fb9ad8bf3dcc1871bab722db83c453f0 (diff)
downloadroundcubemail-plugins-kolab-ba7303572f1d5553900ee5f6789662fbd05f7ffc.tar.gz
Fix usage of KolabEvent url setter/getter
Diffstat (limited to 'plugins')
-rw-r--r--plugins/libkolab/lib/kolab_format_xcal.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/libkolab/lib/kolab_format_xcal.php b/plugins/libkolab/lib/kolab_format_xcal.php
index 4983e99..1f4c894 100644
--- a/plugins/libkolab/lib/kolab_format_xcal.php
+++ b/plugins/libkolab/lib/kolab_format_xcal.php
@@ -111,6 +111,7 @@ abstract class kolab_format_xcal extends kolab_format
'title' => $this->obj->summary(),
'location' => $this->obj->location(),
'description' => $this->obj->description(),
+ 'url' => $this->obj->url(),
'status' => $status_map[$this->obj->status()],
'sensitivity' => $sensitivity_map[$this->obj->classification()],
'priority' => $this->obj->priority(),
@@ -243,12 +244,7 @@ abstract class kolab_format_xcal extends kolab_format
$this->obj->setPriority($object['priority']);
$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);
+ $this->obj->setUrl(strval($object['url']));
// process event attendees
$attendees = new vectorattendee;