Minor - format code

pull/3659/head
Julio Montoya 5 years ago
parent 09e19d23dc
commit f489b52b08
  1. 2
      main/exercise/answer.class.php
  2. 5
      main/inc/ajax/exercise.ajax.php

@ -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') {
if ($debug) {
error_log("result: ok - all");
error_log(" ------ end ajax call ------- ");
}
echo 'ok';
exit;
}

Loading…
Cancel
Save