Dear all
We have accidentally enrolled the wrong cohort on a course. What is the best way to delete completion records in bulk so they do not appear in reports and users record of learning?
Thanks
Paul
Dear all
We have accidentally enrolled the wrong cohort on a course. What is the best way to delete completion records in bulk so they do not appear in reports and users record of learning?
Thanks
Paul
Hi Paul
There is a script that can be run that will delete all (or a time-based subset of) unstarted course completion records of users who are no longer enrolled on a given course. This script can be found at admin/cli/delete_unused_course_completions.php and can be run with a --help flag to output usage instructions.
regards