|
@ -576,7 +576,7 @@ class mod_attendance_external extends external_api { |
|
|
|
|
|
|
|
|
$params = self::validate_parameters(self::get_sessions_parameters(), array( |
|
|
$params = self::validate_parameters(self::get_sessions_parameters(), array( |
|
|
'attendanceid' => $attendanceid, |
|
|
'attendanceid' => $attendanceid, |
|
|
)); |
|
|
)); |
|
|
|
|
|
|
|
|
return attendance_handler::get_sessions($params['attendanceid']); |
|
|
return attendance_handler::get_sessions($params['attendanceid']); |
|
|
} |
|
|
} |
|
|