mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
group should probably be passed into get_role_users()
This commit is contained in:
parent
68ad444b15
commit
ba82dd3134
1 changed files with 1 additions and 1 deletions
|
@ -4051,7 +4051,7 @@ function get_users_by_capability($context, $capability, $fields='', $sort='',
|
||||||
* @param bool gethidden - whether to fetch hidden enrolments too
|
* @param bool gethidden - whether to fetch hidden enrolments too
|
||||||
* @return array()
|
* @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;
|
global $CFG;
|
||||||
|
|
||||||
if (empty($fields)) {
|
if (empty($fields)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue