@ -46,8 +46,6 @@ class Answer
private $exercise;
/**
* constructor of the class.
*
* @author Olivier Brouckaert
* @param int $questionId that answers belong to
@ -725,7 +725,6 @@ switch ($action) {
if ($debug) {
error_log('duration to save in DB:'.$duration);
}
Session::write('duration_time', [$key => $now]);
Event::updateEventExercise(
$exeId,
@ -776,6 +775,10 @@ switch ($action) {
if ($type === 'all') {
error_log("result: ok - all");
error_log(" ------ end ajax call ------- ");
echo 'ok';
exit;