diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-09-11 18:49:08 +0400 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-09-11 18:49:08 +0400 |
commit | e9df292b62181e079d38ceaf343268954210b98b (patch) | |
tree | 3ecda9b2766dde7205279a5b42985e634b592f14 /apps/calendar | |
parent | 72aa1bf75c0b1ca6c02e912f9095eb07b18b1649 (diff) |
commented out broken code in add event function
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/ajax/newevent.php | 8 |
1 files 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")); |