jpahullo / moodle-tool_mergeusers

Merge users script for Moodle

Home Page:https://moodle.org/plugins/view.php?plugin=tool_mergeusers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change default setting for How to resolve quiz attempts, thanks

Urpokarhu1 opened this issue · comments

Hello,

Please change default setting "How to resolve quiz attempts tool_mergeusers | quizattemptsaction" from "Default: Do nothing: do not merge nor delete" to "merge attempts from both users and renumber" I think this would be a good thing to do by default and not notice it after you have merged 200 accounts.

This would be very welcome, we just had a case where we discovered the surprise of all quiz attempts lost, could there be a parameter to choose what happens with quiz attempts? Or maybe it is there but we cannot see? Thank you so much!

Hi!

Thanks for the feedback.

We'll consider your words @Urpokarhu1 . If you can, you could provide a PR with that change, This is the easiest way to get things evolving.

Regarding to your question, @mifantrax , if you merged user A into B, with option "Do nothing" on quizzes, you can update the setting to "merge attemps from both users and renumber" and repeat mergin user A into B. This would have the same effect in the end. The second merging will only merge missing operations, and, in particular, attempts were not deleted from user A.

Thanks for your time!