Merge branch 'wip-mdl-55610-m30' of https://github.com/rajeshtaneja/moodle into MOODLE_30_STABLE

This commit is contained in:
Dan Poltawski
2016-09-12 10:18:20 +01:00
+1
View File
@@ -1617,6 +1617,7 @@ function purge_all_caches() {
cache_helper::purge_all();
// Purge all other caches: rss, simplepie, etc.
clearstatcache();
remove_dir($CFG->cachedir.'', true);
// Make sure cache dir is writable, throws exception if not.