|
|
|
@ -312,10 +312,14 @@ function update_event_exercice( |
|
|
|
|
if ($debug) error_log('duration:' . $duration); |
|
|
|
|
|
|
|
|
|
if ($exeid != '') { |
|
|
|
|
// Validation in case of fraud with actived control time |
|
|
|
|
/* |
|
|
|
|
* Code commented due BT#8423 do not change the score to 0. |
|
|
|
|
* |
|
|
|
|
* Validation in case of fraud with actived control time |
|
|
|
|
if (!exercise_time_control_is_valid($exo_id, $learnpath_id, $learnpath_item_id)) { |
|
|
|
|
$score = 0; |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
if (!isset($status) || empty($status)) { |
|
|
|
|
$status = ''; |
|
|
|
|