Added search parameter to get_course_students. Modified get_course_students and count_course_students to handle a request for course 0 (will get all users, even if they are in no other course). Changes done to for admin/user.php, should be compatible with all previous function calls.
Added search parameter to get_course_students.
Modified get_course_students and count_course_students to handle a request for course 0 (will get all users, even if they are in no other course).
Changes done to for admin/user.php, should be compatible with all previous function calls.

dilawar/moodle