]> git.mjollnir.org Git - moodle.git/commitdiff
group should probably be passed into get_role_users()
authortoyomoyo <toyomoyo>
Thu, 20 Sep 2007 03:11:51 +0000 (03:11 +0000)
committertoyomoyo <toyomoyo>
Thu, 20 Sep 2007 03:11:51 +0000 (03:11 +0000)
lib/accesslib.php

index 61aef3952e75d95d422093ca6b48be893d4a3360..cecda1e7c0f5c78fb2504bff5636995773c661a9 100755 (executable)
@@ -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)) {