Permalink
Browse files

changed function get_course_participants --> get_course_users (naming…

… consistency)
  • Loading branch information...
1 parent 4b23224 commit 4c550bc01349287cfd06716474eb3eb0dd0c18e7 martin committed Jul 29, 2002
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -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)

0 comments on commit 4c550bc

Please sign in to comment.