mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
34dd57053d
Whenever the role_capabilities table is changed, we need to remember to clear the cache for the role(s) being modified. This is far simpler when all of those changes happen in a single file, i.e. accesslib.php, allowing other parts of the application to use the public functions without requiring knowledge of the cache internals.