aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/enableall.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins/enableall.php')
-rw-r--r--actions/admin/plugins/enableall.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/actions/admin/plugins/enableall.php b/actions/admin/plugins/enableall.php
index f31b4593d..7789e1e6d 100644
--- a/actions/admin/plugins/enableall.php
+++ b/actions/admin/plugins/enableall.php
@@ -31,10 +31,7 @@
// Regen view cache
elgg_view_regenerate_simplecache();
-
- // Regen paths cache
- $cache = elgg_get_filepath_cache();
- $cache->delete('view_paths');
+ elgg_filepath_cache_reset();
forward($_SERVER['HTTP_REFERER']);
exit;