summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-11 16:49:08 +0200
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-11 16:49:08 +0200
commite9df292b62181e079d38ceaf343268954210b98b (patch)
tree3ecda9b2766dde7205279a5b42985e634b592f14
parent72aa1bf75c0b1ca6c02e912f9095eb07b18b1649 (diff)
downloadnextcloud-server-e9df292b62181e079d38ceaf343268954210b98b.tar.gz
nextcloud-server-e9df292b62181e079d38ceaf343268954210b98b.zip
commented out broken code in add event function
-rw-r--r--apps/calendar/ajax/newevent.php8
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"));