]> git.mjollnir.org Git - moodle.git/commit
lib/deprecatedlib: use sort_by_roleassignment_authority() to sort RAs
authormartinlanghoff <martinlanghoff>
Sun, 6 Jan 2008 23:25:51 +0000 (23:25 +0000)
committermartinlanghoff <martinlanghoff>
Sun, 6 Jan 2008 23:25:51 +0000 (23:25 +0000)
commitb1469317a1bbee6590ea507b500dc881f3690e66
treef5fbc3f10e4fc8625879025e0dcf1726741cbde4
parent635bfbad21eaeee3667eed70f4412cdadfdda06a
lib/deprecatedlib: use sort_by_roleassignment_authority() to sort RAs

After calling get_users_by_capability(), use
sort_by_roleassignment_authority() to mimic what older versions of
Moodle did.

Affects: get_teacher(), get_course_teachers()

    MDL-12452
lib/deprecatedlib.php