Skip to content

Commit

Permalink
MDL-17693: get_role_users - add lastaccess & mnethostid to the list o…
Browse files Browse the repository at this point in the history
…f default fields to return. These are used by messaging/emailing.
  • Loading branch information
mjollnir_ committed Dec 19, 2008
1 parent fd5244d commit c165e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/accesslib.php
Expand Up @@ -4992,7 +4992,7 @@ function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.l
$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
Expand Down

0 comments on commit c165e74

Please sign in to comment.