mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
SCORM MDL-23053 add support for conditional activities - completion on view
This commit is contained in:
parent
624bcb1606
commit
b3611e0dda
@ -354,4 +354,8 @@
|
||||
</div> <!-- SCORM object -->
|
||||
</div> <!-- SCORM box -->
|
||||
</div> <!-- SCORM page -->
|
||||
<?php echo $OUTPUT->footer(); ?>
|
||||
<?php
|
||||
$completion=new completion_info($course);
|
||||
$completion->set_module_viewed($cm);
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user