ndunand/moodle-tool_mergeusers — pull request #54 by MorrisR2 (2014-07-25 16:17:58+00:00)
Title: tool_mergeusers: Simplify and correct getCurrentUserFieldNames()

This commit takes care of the errors thrown on tables such as mdl_message_contacts by simplifying the function from 49 lines to two lines. It now uses the time-tested Moodle database get_fieldset_sql() rather than reimplementing it incorrectly.