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.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php
index 0e328f54d..c42f5fda1 100644
--- a/actions/admin/plugins/reorder.php
+++ b/actions/admin/plugins/reorder.php
@@ -47,9 +47,7 @@
register_error(sprintf(elgg_echo('admin:plugins:reorder:no'), $plugin));
elgg_view_regenerate_simplecache();
-
- $cache = elgg_get_filepath_cache();
- $cache->delete('view_paths');
+ elgg_filepath_cache_reset();
forward($_SERVER['HTTP_REFERER']);