|
|
@ -84,7 +84,7 @@ function attendance_create_calendar_events($sessionsids) { |
|
|
|
* @param $timestart int start time of the event |
|
|
|
* @return bool result of updating |
|
|
|
*/ |
|
|
|
function attendance_update_calendar_event($caleventid, $timeduration, $timestart = null) { |
|
|
|
function attendance_update_calendar_event($caleventid, $timeduration, $timestart) { |
|
|
|
$caleventdata = new stdClass(); |
|
|
|
$caleventdata->timeduration = $timeduration; |
|
|
|
$caleventdata->timestart = $timestart; |
|
|
|