Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MDL-39087 Purge all caches at the end of uninstall_plugin()
[moodle.git]
/
lib
/
adminlib.php
diff --git
a/lib/adminlib.php
b/lib/adminlib.php
index
3156374
..
89fa8e8
100644
(file)
--- a/
lib/adminlib.php
+++ b/
lib/adminlib.php
@@
-321,6
+321,9
@@
function uninstall_plugin($type, $name) {
// remove event handlers and dequeue pending events
events_uninstall($component);
+ // Finally purge all caches.
+ purge_all_caches();
+
echo $OUTPUT->notification(get_string('success'), 'notifysuccess');
}