summaryrefslogtreecommitdiffstats
path: root/3rdparty/Sabre/CalDAV/ICSExportPlugin.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-13 22:03:44 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-13 22:04:22 +0200
commit183cc22501b75ab8819971f70b88dbc010026ac1 (patch)
tree878db72be46fe5394f8615c2bcf579d9e943d76b /3rdparty/Sabre/CalDAV/ICSExportPlugin.php
parent5713dcfd11f6d0f57b6302bedeb22c18df5d73bb (diff)
downloadnextcloud-server-183cc22501b75ab8819971f70b88dbc010026ac1.tar.gz
nextcloud-server-183cc22501b75ab8819971f70b88dbc010026ac1.zip
Update SabreDAV to 1.7.1
Diffstat (limited to '3rdparty/Sabre/CalDAV/ICSExportPlugin.php')
-rwxr-xr-x3rdparty/Sabre/CalDAV/ICSExportPlugin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/3rdparty/Sabre/CalDAV/ICSExportPlugin.php b/3rdparty/Sabre/CalDAV/ICSExportPlugin.php
index ec42b406b2f..d3e4e7b7201 100755
--- a/3rdparty/Sabre/CalDAV/ICSExportPlugin.php
+++ b/3rdparty/Sabre/CalDAV/ICSExportPlugin.php
@@ -1,5 +1,7 @@
<?php
+use Sabre\VObject;
+
/**
* ICS Exporter
*
@@ -82,7 +84,7 @@ class Sabre_CalDAV_ICSExportPlugin extends Sabre_DAV_ServerPlugin {
*/
public function generateICS(array $nodes) {
- $calendar = new Sabre_VObject_Component('vcalendar');
+ $calendar = new VObject\Component('vcalendar');
$calendar->version = '2.0';
if (Sabre_DAV_Server::$exposeVersion) {
$calendar->prodid = '-//SabreDAV//SabreDAV ' . Sabre_DAV_Version::VERSION . '//EN';
@@ -103,7 +105,7 @@ class Sabre_CalDAV_ICSExportPlugin extends Sabre_DAV_ServerPlugin {
}
$nodeData = $node[200]['{' . Sabre_CalDAV_Plugin::NS_CALDAV . '}calendar-data'];
- $nodeComp = Sabre_VObject_Reader::read($nodeData);
+ $nodeComp = VObject\Reader::read($nodeData);
foreach($nodeComp->children() as $child) {