MDL-35131 Caching: Purge all will clear course modinfo cache - Thanks to Thomas for patch

This commit is contained in:
Rajesh Taneja
2013-05-17 10:17:45 +08:00
parent e2637d1da3
commit 6ab62db65c
+3
View File
@@ -1550,6 +1550,9 @@ function purge_all_caches() {
cache_helper::purge_all();
// Clear course cache for all courses.
rebuild_course_cache(0, true);
// purge all other caches: rss, simplepie, etc.
remove_dir($CFG->cachedir.'', true);