Merge branch 'MDL-70894-master' of https://github.com/yankudriavtsev/moodle
This commit is contained in:
+1
-1
@@ -1650,7 +1650,7 @@ function get_enrolled_users(context $context, $withcapability = '', $groupid = 0
|
||||
* @param string $withcapability
|
||||
* @param int $groupid 0 means ignore groups, any other value limits the result by group id
|
||||
* @param bool $onlyactive consider only active enrolments in enabled plugins and time restrictions
|
||||
* @return array of user records
|
||||
* @return int number of users enrolled into course
|
||||
*/
|
||||
function count_enrolled_users(context $context, $withcapability = '', $groupid = 0, $onlyactive = false) {
|
||||
global $DB;
|
||||
|
||||
Reference in New Issue
Block a user