From e9df292b62181e079d38ceaf343268954210b98b Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sun, 11 Sep 2011 16:49:08 +0200 Subject: [PATCH] commented out broken code in add event function --- apps/calendar/ajax/newevent.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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")); -- 2.39.5