mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
f5b5a82203
Added methods that allow a navigation cache to be marked as volatile so that it is destroyed on shutdown, forcing the next page to load to completely regenerate the navigation structure. Caches are marked as volatile automatically if the load is within the system context, and can optionally be marked as volatile by calling PAGE->navigation->clear_cache() if desired.