mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-17693: get_role_users - add lastaccess & mnethostid to the list of default fields to return. These are used by messaging/emailing. (Merged from MOODLE_19_STABLE)
This commit is contained in:
parent
a65cfba54d
commit
0e4e1a43f1
@ -5269,7 +5269,7 @@ function get_role_users($roleid, $context, $parent=false, $fields='',
|
||||
$fields = 'u.id, u.confirmed, u.username, u.firstname, u.lastname, '.
|
||||
'u.maildisplay, u.mailformat, u.maildigest, u.email, u.city, '.
|
||||
'u.country, u.picture, u.idnumber, u.department, u.institution, '.
|
||||
'u.emailstop, u.lang, u.timezone, r.name as rolename';
|
||||
'u.emailstop, u.lang, u.timezone, u.lastaccess, u.mnethostid, r.name as rolename';
|
||||
}
|
||||
|
||||
// whether this assignment is hidden
|
||||
|
Loading…
x
Reference in New Issue
Block a user