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.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/admin/plugins/disableall.php b/actions/admin/plugins/disableall.php
index a01b74fa5..00a5713d5 100644
--- a/actions/admin/plugins/disableall.php
+++ b/actions/admin/plugins/disableall.php
@@ -30,9 +30,7 @@
}
elgg_view_regenerate_simplecache();
-
- $cache = elgg_get_filepath_cache();
- $cache->delete('view_paths');
+ elgg_filepath_cache_reset();
forward($_SERVER['HTTP_REFERER']);
exit;