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