]> source.dussan.org Git - nextcloud-server.git/commitdiff
commented out broken code in add event function
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>
Sun, 11 Sep 2011 14:49:08 +0000 (16:49 +0200)
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>
Sun, 11 Sep 2011 14:49:08 +0000 (16:49 +0200)
apps/calendar/ajax/newevent.php

index 827cfa014a941242e6153dc95cd68ca88d184c1c..3c5f779b66485cdcef61483f3f3c2c4c2a18da96 100644 (file)
@@ -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"));