summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/editevent.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/ajax/editevent.php')
-rw-r--r--apps/calendar/ajax/editevent.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/editevent.php b/apps/calendar/ajax/editevent.php
index 46feb068499..e3c84520481 100644
--- a/apps/calendar/ajax/editevent.php
+++ b/apps/calendar/ajax/editevent.php
@@ -34,7 +34,7 @@ if($errarr){
OC_JSON::error();
exit;
}
- $vcalendar = OC_Calendar_Object::parse($data['calendardata']);
+ $vcalendar = OC_VObject::parse($data['calendardata']);
$last_modified = $vcalendar->VEVENT->__get('LAST-MODIFIED');
if($last_modified && $_POST['lastmodified'] != $last_modified->getDateTime()->format('U')){