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

Wrong entries deleted in case of conflict

t-schroeder opened this issue · comments

While testing I noticed that "uniquekeynewidtomaintain" is always read as false regardless what value you set it to.

The consequence of this bug is: when you have a table where the userid column is unique and both users have an entry in that table, the entry of the user you want to keep gets deleted.

Fixed! Thanks!