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-29318 core: Fixes for get_complete_user_data()
* Added email in the list of case-insensitive fields. * New optional parameter $throwexception for \get_complete_user_data(). If true, an exception will be thrown when there's no matching record found or when there are multiple records found for the given field value. If false, it will simply return false. Defaults to false when not set. This ensures that get_complete_user_data() fetches the correct user data.
- Loading branch information
1 parent
b53ec2b
commit 8cb4579
Showing
2 changed files
with
19 additions
and
4 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