Merge branch 'MDL-45952_master2' of git://github.com/Syxton/moodle

This commit is contained in:
Marina Glancy 2014-09-02 09:58:24 +08:00
commit d0143e0061

View File

@ -893,6 +893,9 @@ function feedback_get_incomplete_users($cm,
true)) {
return false;
}
// Filter users that are not in the correct group/grouping.
$allusers = groups_filter_users_by_course_module_visible($cm, $allusers);
$allusers = array_keys($allusers);
//now get all completeds