Author: Jun Pataleta
MDL-64958 grade_import: Ensure correct user is being fetched
* We need to ensure that we are checking the correct user account.
Since email and idnumber are not unique fields, there's a chance that
multiple user records will match when querying for user data using
these fields. This might lead to a different user's grades being
inadvertently modified during grade import. In such a case, this
function needs to return a null userid.
http://git.moodle.org/gw?p=moodle.git;a=commit;h=78615db17fe3fe339b4486433f2b9fc7c4437cb5
http://github.com/moodle/moodle/commit/78615db17fe3fe339b4486433f2b9fc7c4437cb5
+ 3.5 en [usermappingerrormultipleusersfound,core_grades]