mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
d45f0f0ceb
* 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.