Closed jboulen closed 3 years ago
Sorry it took a while to look at this - it was a bit harder to understand from the diff (due the the whitespace changes), so I needed a few spare minutes (and a bit of clear headspace) to look at it properly.
The fix looks great, so thank for submitting it - now merged.
Currently, when you reset your course, even if you don't check the box to reset data around
mod_checklist
, Moodle shows a message that "Reset checklist progress and user items" is OK. Actually, this message is wrong. The checklist data is kept as expected, there is no data loss.With this modification, an empty array is returned when user does not request to reset checklist data.