mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-82192-main' of https://github.com/ericmerrill/moodle
This commit is contained in:
commit
920dbc2242
@ -413,10 +413,10 @@ if (!empty($command)) {
|
||||
} else {
|
||||
$track = new stdClass();
|
||||
$track->scoid = $sco->id;
|
||||
$track->element = scorm_get_elementid('cmi.core.total_time');
|
||||
$track->elementid = scorm_get_elementid('cmi.core.total_time');
|
||||
$track->value = $scormsession->sessiontime;
|
||||
$atobject = scorm_get_attempt($aiccuser->id, $scormsession->scormid, $attempt);
|
||||
$track->attempt = $atobject->id;
|
||||
$track->attemptid = $atobject->id;
|
||||
$track->timemodified = time();
|
||||
$id = $DB->insert_record('scorm_scoes_value', $track);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user