mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 04:01:40 +01:00
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.