mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
36b6444420
\cache::make() may return a cache_disabled subclass but callers, specifically user/lib.php:user_create_user(), invoke \cache::purge_current_user() which was only implemented by the cache_session subclass. Added empty \cache::purge_current_user() which subclasses can implement, i.e. cache_session, or not, i.e. cache_disabled.