aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/disableall.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins/disableall.php')
-rw-r--r--actions/admin/plugins/disableall.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/admin/plugins/disableall.php b/actions/admin/plugins/disableall.php
index efb91f773..a01b74fa5 100644
--- a/actions/admin/plugins/disableall.php
+++ b/actions/admin/plugins/disableall.php
@@ -29,7 +29,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;