summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-09-17 01:54:06 +0200
committerBart Visscher <bartv@thisnet.nl>2011-09-17 01:55:05 +0200
commit22db68816e29054ddb05dfb241d1bbf7e0041c12 (patch)
tree525cbbc966c2bbd995dfc4da1f9555d202a272ff /apps
parent079df42103d58d21793bf09f172d1223cafae665 (diff)
downloadnextcloud-server-22db68816e29054ddb05dfb241d1bbf7e0041c12.tar.gz
nextcloud-server-22db68816e29054ddb05dfb241d1bbf7e0041c12.zip
Remove unused function call
Diffstat (limited to 'apps')
-rw-r--r--apps/calendar/ajax/editevent.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/calendar/ajax/editevent.php b/apps/calendar/ajax/editevent.php
index aef2e6f78b4..e4e6c4548c7 100644
--- a/apps/calendar/ajax/editevent.php
+++ b/apps/calendar/ajax/editevent.php
@@ -45,7 +45,6 @@ if($errarr){
OC_Calendar_Object::updateVCalendarFromRequest($_POST, $vcalendar);
$result = OC_Calendar_Object::edit($id, $vcalendar->serialize());
if ($data['calendarid'] != $cal) {
- $calendar = OC_Calendar_Calendar::findCalendar($request['calendar']);
OC_Calendar_Object::moveToCalendar($id, $cal);
}
echo json_encode(array('status' => 'success'));