aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/disable.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins/disable.php')
-rw-r--r--actions/admin/plugins/disable.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index cbe75a665..32ae451a7 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.php
@@ -32,7 +32,10 @@
register_error(sprintf(elgg_echo('admin:plugins:disable:no'), $p));
}
- elgg_view_regenerate_simplecache();
+ elgg_view_regenerate_simplecache();
+
+ $cache = elgg_get_filepath_cache();
+ $cache->delete('view_paths');
forward($_SERVER['HTTP_REFERER']);
exit;