mirror of
https://github.com/moodle/moodle.git
synced 2025-03-15 21:20:02 +01:00
Refactor similar SQL generation code from get_users_by_capability and get_enrolled_uses to make get_with_capability_sql. Modified files: accesslib.php, enrollib.php, grouplib.php, new tests.