mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
MDL-70894 enrol: Fixed return type for count_enrolled_users
This commit is contained in:
parent
16a5169a43
commit
c72e7946cf
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user