Returns all users and their lowest status in a course.
authorSyxton <davidso1@rose-hulman.edu>
Fri, 11 Sep 2015 13:24:35 +0000 (09:24 -0400)
committerSyxton <davidso1@rose-hulman.edu>
Fri, 11 Sep 2015 13:24:35 +0000 (09:24 -0400)
commitc412d7886c3f5b886edfab5010bbff5ddf5fd14c
tree7cd1f8fb0db948fffa4c17916fe741bb9f8aa487
parent74363595db74e1c4bdbed1de294457c0fe2b405d
Returns all users and their lowest status in a course.

This will fix 2 issues.  The first, if a user has a suspended enrollment
in child course A, the active enrollment in child course B will be
honored over the suspended enrollment.  Also in this scenerio, the user
with multiple enrollments was causing a duplicate userid error to be
generated.
locallib.php