Skip to content
Permalink
Browse files

MDL-39526 cache: add extra cache purge after upgrade_core

This prevents the upgraderunning lock from not being cleared when there are
no plugins to upgrade (reproducable bug with memcache as the application cache store)
  • Loading branch information...
damyon committed May 9, 2013
1 parent 887e724 commit a5a6e93f01f5b9ee64236d5d8a51a45351642839
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/upgradelib.php
@@ -1548,6 +1548,7 @@ function upgrade_core($version, $verbose) {
// Purge caches again, just to be sure we arn't holding onto old stuff now.
purge_all_caches();
cache_helper::purge_all(true);
// Clean up contexts - more and more stuff depends on existence of paths and contexts
context_helper::cleanup_instances();

0 comments on commit a5a6e93

Please sign in to comment.
You can’t perform that action at this time.