From: Georg Ehrke Date: Sun, 11 Sep 2011 14:49:08 +0000 (+0200) Subject: commented out broken code in add event function X-Git-Tag: v3.0~224 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e9df292b62181e079d38ceaf343268954210b98b;p=nextcloud-server.git commented out broken code in add event function --- diff --git a/apps/calendar/ajax/newevent.php b/apps/calendar/ajax/newevent.php index 827cfa014a9..3c5f779b664 100644 --- a/apps/calendar/ajax/newevent.php +++ b/apps/calendar/ajax/newevent.php @@ -144,12 +144,12 @@ if($errnum != 0){ $des = str_replace("\n","\\n", $description); $data .= "DESCRIPTION:" . $des . "\n"; } - if($cat != $l->t("None")){ + /*if($cat != $l->t("None")){ $data .= "CATEGORIES:" . $cat . "\n"; - } - if($repeat == "true"){ + }*/ + /*if($repeat == "true"){ $data .= "RRULE:" . $repeat . "\n"; - } + }*/ $data .= "END:VEVENT\nEND:VCALENDAR"; $result = OC_Calendar_Calendar::addCalendarObject($cal, $data); echo json_encode(array("success"=>"true"));