mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 08:30:04 +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.