summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/resizeevent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/resizeevent.php')
-rw-r--r--apps/calendar/ajax/resizeevent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/resizeevent.php b/apps/calendar/ajax/resizeevent.php
index 3a2bf87afd9..639ef91ee7c 100644
--- a/apps/calendar/ajax/resizeevent.php
+++ b/apps/calendar/ajax/resizeevent.php
@@ -22,7 +22,7 @@ $delta = new DateInterval('P0D');
$delta->d = $_POST['dayDelta'];
$delta->i = $_POST['minuteDelta'];
-$vcalendar = Sabre_VObject_Reader::read($data['calendardata']);
+$vcalendar = OC_Calendar_Object::parse($data['calendardata']);
$vevent = $vcalendar->VEVENT;
$dtend = OC_Calendar_Object::getDTEndFromVEvent($vevent);