summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/editeventform.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-11-09 22:16:24 +0100
committerBart Visscher <bartv@thisnet.nl>2011-11-09 22:16:24 +0100
commitc65e4176662aa989e1444c3c584a9d7846469262 (patch)
treed085fd566712a4f8d150a2f0df5fb3ea89612bdd /apps/calendar/ajax/editeventform.php
parent8dd2f463f826d44299770919b7e9be21d83075f7 (diff)
downloadnextcloud-server-c65e4176662aa989e1444c3c584a9d7846469262.tar.gz
nextcloud-server-c65e4176662aa989e1444c3c584a9d7846469262.zip
Use parse function in Calendar_Object
Diffstat (limited to 'apps/calendar/ajax/editeventform.php')
-rw-r--r--apps/calendar/ajax/editeventform.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/editeventform.php b/apps/calendar/ajax/editeventform.php
index 34d6c657cec..e6dc8136601 100644
--- a/apps/calendar/ajax/editeventform.php
+++ b/apps/calendar/ajax/editeventform.php
@@ -26,7 +26,7 @@ if($calendar['userid'] != OC_User::getUser()){
echo $l10n->t('Wrong calendar');
exit;
}
-$object = Sabre_VObject_Reader::read($data['calendardata']);
+$object = OC_Calendar_Object::parse($data['calendardata']);
$vevent = $object->VEVENT;
$dtstart = $vevent->DTSTART;
$dtend = OC_Calendar_Object::getDTEndFromVEvent($vevent);