navigation MDL-20521 Fixed caching issue with admin tree
authorsamhemelryk <samhemelryk>
Mon, 12 Oct 2009 05:39:32 +0000 (05:39 +0000)
committersamhemelryk <samhemelryk>
Mon, 12 Oct 2009 05:39:32 +0000 (05:39 +0000)
commitf5b5a82203001cd3ad8fe3641441e09b557e94a9
treec9124830689550c553995ea88c1620f81c48ab77
parentfa8431d74f578c795367af7f0b0c18e6dc724717
navigation MDL-20521 Fixed caching issue with admin tree
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.
admin/settings.php
lib/adminlib.php
lib/navigationlib.php