Commit d06da029 authored by Sara Arjona's avatar Sara Arjona
Browse files

Merge branch 'MDL-69736-master' of git:// into master

parents f9482497 dd4a089b
......@@ -353,6 +353,9 @@ class player {
$settings['moodleLibraryPaths'] = $this->core->get_dependency_roots($this->h5pid);
// Add also the Moodle component where the results will be tracked.
$settings['moodleComponent'] = $this->component;
if (!empty($settings['moodleComponent'])) {
$settings['reportingIsEnabled'] = true;
$cid = $this->get_cid();
// The filterParameters function should be called before getting the dependencyfiles because it rebuild content
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment