Merge branch 'wip-MDL-51917-master' of git://github.com/marinaglancy/moodle
[moodle.git] / lib / completionlib.php
index 816c7d1..c8bf817 100644 (file)
@@ -784,6 +784,7 @@ class completion_info {
 
         // Difficult to find affected users, just purge all completion cache.
         cache::make('core', 'completion')->purge();
+        cache::make('core', 'coursecompletion')->purge();
     }
 
     /**
@@ -835,6 +836,7 @@ class completion_info {
 
         // Difficult to find affected users, just purge all completion cache.
         cache::make('core', 'completion')->purge();
+        cache::make('core', 'coursecompletion')->purge();
     }
 
     /**