Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73f560c
)
MDL-38773 Purge coursecat cache on course restore
author
Marina Glancy
<marina@moodle.com>
Wed, 5 Jun 2013 02:02:33 +0000
(12:02 +1000)
committer
Marina Glancy
<marina@moodle.com>
Wed, 5 Jun 2013 02:02:33 +0000
(12:02 +1000)
backup/moodle2/restore_stepslib.php
patch
|
blob
|
blame
|
history
diff --git
a/backup/moodle2/restore_stepslib.php
b/backup/moodle2/restore_stepslib.php
index
8b02dc1
..
2efa487
100644
(file)
--- a/
backup/moodle2/restore_stepslib.php
+++ b/
backup/moodle2/restore_stepslib.php
@@
-477,6
+477,8
@@
class restore_rebuild_course_cache extends restore_execution_step {
// 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');
}
}