Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-10-01 22:31:58 +0400
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-10-01 22:31:58 +0400
commita7431d99e5de84dca4e01b3480149fb175fd31b9 (patch)
tree16b03a3f5c166dfeeac152941770d9efc97a29cd /apps/calendar
parent43a3e46369723d1f00ecc3048e3c88177995ab14 (diff)
remove debugging text in drag and drop function
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/ajax/moveevent.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/calendar/ajax/moveevent.php b/apps/calendar/ajax/moveevent.php
index d18c25eb517..725894ab43c 100644
--- a/apps/calendar/ajax/moveevent.php
+++ b/apps/calendar/ajax/moveevent.php
@@ -63,7 +63,7 @@ $startunix = mktime($starttimearray[0], $starttimearray[1], 0, $startdatearray[1
$enddatearray = explode("-", $enddate);
$endtimearray = explode(":", $endtime);
$endunix = mktime($endtimearray[0], $endtimearray[1], 0, $enddatearray[1], $enddatearray[0], $enddatearray[2]);
-$difference = $endunix - $startunix;echo $difference . "\n";
+$difference = $endunix - $startunix;
if(strlen($newdate) > 10){
$newdatestringarray = explode("-", $newdate);
if($newdatestringarray[1] == "allday"){
@@ -85,9 +85,9 @@ if($allday == true){
unset($caldata["allday"]);
}
$caldata["from"] = date("d-m-Y", $newstartunix);
-$caldata["fromtime"] = date("H:i", $newstartunix); echo $caldata["fromtime"];
+$caldata["fromtime"] = date("H:i", $newstartunix);
$caldata["to"] = date("d-m-Y", $newendunix);
-$caldata["totime"] = date("H:i", $newendunix); echo $caldata["totime"];
+$caldata["totime"] = date("H:i", $newendunix);
//modified part of editevent.php
$vcalendar = Sabre_VObject_Reader::read($data["calendardata"]);
OC_Calendar_Object::updateVCalendarFromRequest($caldata, $vcalendar);