Merge branch 'wip-MDL-49572-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
David Monllao 2015-05-25 17:54:00 +08:00
commit 5362e3ca3a

View File

@ -318,6 +318,8 @@ class cache_helper {
$definitionkey = $definition->get_component().'/'.$definition->get_area();
if (isset($inuse[$definitionkey])) {
$inuse[$definitionkey]->purge();
} else {
cache::make($definition->get_component(), $definition->get_area())->purge();
}
// We should only log events for application and session caches.