summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2013-06-24 11:09:44 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2013-06-24 11:09:44 (GMT)
commitd42d47518c9af6ea8ecc31f8b23e8a7a24be387f (patch)
tree5a12e2181773a9f62f8d18fbf04e0e85b58bb739 /plugins
parentf14e8fec687dc02165e4bb7f97aaade8f8d262f8 (diff)
downloadroundcubemail-plugins-kolab-d42d47518c9af6ea8ecc31f8b23e8a7a24be387f.tar.gz
Revert "Expose URI attachments as 'links' for event objects"
This reverts commit b111a369e3485b751fa8a2c010f1a358210d62e7.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/libkolab/lib/kolab_format_event.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/libkolab/lib/kolab_format_event.php b/plugins/libkolab/lib/kolab_format_event.php
index c9dc779..d472ac5 100644
--- a/plugins/libkolab/lib/kolab_format_event.php
+++ b/plugins/libkolab/lib/kolab_format_event.php
@@ -86,13 +86,6 @@ class kolab_format_event extends kolab_format_xcal
$attach->setUri('cid:' . $cid, $attr['mimetype']);
$vattach->push($attach);
}
-
- foreach ((array)$object['links'] as $link) {
- $attach = new Attachment;
- $attach->setUri($link, null);
- $vattach->push($attach);
- }
-
$this->obj->setAttachments($vattach);
// cache this data
@@ -159,9 +152,6 @@ class kolab_format_event extends kolab_format_xcal
'content' => $data,
);
}
- else if (substr($attach->uri(), 0, 4) == 'http') {
- $object['links'][] = $attach->uri();
- }
}
$this->data = $object;