group should probably be passed into get_role_users()

This commit is contained in:
toyomoyo 2007-09-20 03:11:51 +00:00
parent 68ad444b15
commit ba82dd3134

View file

@ -4051,7 +4051,7 @@ function get_users_by_capability($context, $capability, $fields='', $sort='',
* @param bool gethidden - whether to fetch hidden enrolments too
* @return array()
*/
function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC', $gethidden=true) {
function get_role_users($roleid, $context, $parent=false, $fields='', $sort='u.lastname ASC', $gethidden=true, $group='') {
global $CFG;
if (empty($fields)) {