Permalink
Browse files

MDL-38773 Purge coursecat cache on course restore

  • Loading branch information...
1 parent f36066f commit 28ce5653c083fe90cc5a1ef2c97140d9b0ff389b @marinaglancy marinaglancy committed Jun 5, 2013
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');
}
}

0 comments on commit 28ce565

Please sign in to comment.