Skip to content
Snippets Groups Projects
Commit 22db6881 authored by Bart Visscher's avatar Bart Visscher
Browse files

Remove unused function call

parent 079df421
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,6 @@ if($errarr){ ...@@ -45,7 +45,6 @@ if($errarr){
OC_Calendar_Object::updateVCalendarFromRequest($_POST, $vcalendar); OC_Calendar_Object::updateVCalendarFromRequest($_POST, $vcalendar);
$result = OC_Calendar_Object::edit($id, $vcalendar->serialize()); $result = OC_Calendar_Object::edit($id, $vcalendar->serialize());
if ($data['calendarid'] != $cal) { if ($data['calendarid'] != $cal) {
$calendar = OC_Calendar_Calendar::findCalendar($request['calendar']);
OC_Calendar_Object::moveToCalendar($id, $cal); OC_Calendar_Object::moveToCalendar($id, $cal);
} }
echo json_encode(array('status' => 'success')); echo json_encode(array('status' => 'success'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment