mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-13431 - SCORM results not transferring to Gradebook. Add logging mechanism so that SCORM API interaction with Moodle can be traced.
This commit is contained in:
parent
24f40ab74e
commit
a6bd6132e6
@ -67,6 +67,12 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
// Log every datamodel update requested
|
||||
if (substr($element,0,15) == 'adl.nav.request' || substr($element,0,3) == 'cmi') {
|
||||
if (debugging('',DEBUG_DEVELOPER)) {
|
||||
add_to_log($course->id, 'scorm', 'trk: '.trim($scorm->name).' at: '.$attempt, 'view.php?id='.$cm->id, "$element => $value", $cm->id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($result) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user