mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
4d3a32d
commit fc6d1fe
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters