mirror of
https://github.com/moodle/moodle.git
synced 2025-03-12 19:54:08 +01:00
Actually, since the fix for MDL-12331, which changed the get_users_by_capability call at the top of this function, the check it was doing is entirely redundant anyway, so I removed it. Merged from MOODLE_19_STABLE.