Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

changed function get_course_participants --> get_course_users (naming…

… consistency)
  • Loading branch information...
commit 4c550bc01349287cfd06716474eb3eb0dd0c18e7 1 parent 4b23224
martin authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/moodlelib.php
2  lib/moodlelib.php
@@ -960,7 +960,7 @@ function get_course_teachers($courseid, $sort="t.authority ASC") {
960 960 ORDER BY $sort");
961 961 }
962 962
963   -function get_course_participants($courseid, $sort="u.lastaccess DESC") {
  963 +function get_course_users($courseid, $sort="u.lastaccess DESC") {
964 964 return get_records_sql("SELECT u.* FROM user u, user_students s, user_teachers t
965 965 WHERE (s.course = '$courseid' AND s.user = u.id) OR
966 966 (t.course = '$courseid' AND t.user = u.id)

0 comments on commit 4c550bc

Please sign in to comment.
Something went wrong with that request. Please try again.