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)
committerDan Marsden <dan@danmarsden.com>
Thu, 24 Sep 2015 00:37:02 +0000 (12:37 +1200)
commit2b9fea26095ecd3d53fe777d1395b39635ab7821
tree7c3dd8ca3b41c040e9097f4a55f3a031ff738219
parentdf3b56f5ddabba16e807bfe37918b1139ef38ffa
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