mirror of
https://github.com/moodle/moodle.git
synced 2025-03-01 14:32:48 +01:00
- Core upgrade MUST NOT call rebuild_course_cache() at all - update DB directly instead - Plugins MUST call rebuild_course_cache(.., TRUE) for clearing the course cache and can not update DB directly - Plugins MUST NOT call rebuild_course_cache() unless for clearing the cache - Created function upgrade_ensure_not_running() to be included in other functions that can not be used during upgrade