mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-71215 core_user: User fields - remaining deprecated functions
This change removes references in code and comments to a few deprecated functions that were accidentally missed in the larger change. The code changes only affect service_users.php. I made it support custom user profile fields in this query, because it was easy enough, rather than adding another TODO to fix later.
This commit is contained in:
parent
f0eb6a5729
commit
611e2569aa
5 changed files with 12 additions and 14 deletions
|
@ -1226,7 +1226,7 @@ class course_enrolment_manager {
|
|||
* Please note that this function does not check capability for moodle/coures:viewhiddenuserfields
|
||||
*
|
||||
* @param object $user The user record
|
||||
* @param array $extrafields The list of fields as returned from get_extra_user_fields used to determine which
|
||||
* @param array $extrafields The list of fields as returned from \core_user\fields::get_identity_fields used to determine which
|
||||
* additional fields may be displayed
|
||||
* @param int $now The time used for lastaccess calculation
|
||||
* @return array The fields to be displayed including userid, courseid, picture, firstname, lastcourseaccess, lastaccess and any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue