]> git.mjollnir.org Git - moodle.git/commitdiff
changed function get_course_participants --> get_course_users (naming consistency)
authormartin <martin>
Mon, 29 Jul 2002 07:00:32 +0000 (07:00 +0000)
committermartin <martin>
Mon, 29 Jul 2002 07:00:32 +0000 (07:00 +0000)
lib/moodlelib.php

index cce65d3d1db591c6b68efb1c4467ebd77aae4b08..e75c46a63a65f373c797694983be0636e91c1350 100644 (file)
@@ -960,7 +960,7 @@ function get_course_teachers($courseid, $sort="t.authority ASC") {
                             ORDER BY $sort");
 }
 
-function get_course_participants($courseid, $sort="u.lastaccess DESC") {
+function get_course_users($courseid, $sort="u.lastaccess DESC") {
     return get_records_sql("SELECT u.* FROM user u, user_students s, user_teachers t
                             WHERE (s.course = '$courseid' AND s.user = u.id) OR 
                                   (t.course = '$courseid' AND t.user = u.id)