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