mirror of
https://github.com/moodle/moodle.git
synced 2025-03-27 11:02:38 +01:00
Previously, reset_course_userdata() was deleting the role_capabilities directly, but has_capability() checks the local capabilities cache which was still returning the previous value.