Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-38773 Purge coursecat cache on course restore

  • Loading branch information...
commit 28ce5653c083fe90cc5a1ef2c97140d9b0ff389b 1 parent f36066f
@marinaglancy marinaglancy authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  backup/moodle2/restore_stepslib.php
View
2  backup/moodle2/restore_stepslib.php
@@ -477,6 +477,8 @@ protected function define_execution() {
// Rebuild cache now that all sections are in place
rebuild_course_cache($this->get_courseid());
+ cache_helper::purge_by_event('changesincourse');
+ cache_helper::purge_by_event('changesincoursecat');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.