Merge branch 'MDL-70894-MOODLE_311_STABLE' of https://github.com/yankudriavtsev/moodle into MOODLE_311_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2021-12-01 19:10:53 +01:00
+1 -1
View File
@@ -1649,7 +1649,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;