diff options
Diffstat (limited to 'actions/admin/plugins/enable.php')
-rw-r--r-- | actions/admin/plugins/enable.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php index d81ab0551..841bc9aae 100644 --- a/actions/admin/plugins/enable.php +++ b/actions/admin/plugins/enable.php @@ -33,9 +33,7 @@ } elgg_view_regenerate_simplecache(); - - $cache = elgg_get_filepath_cache(); - $cache->delete('view_paths'); + elgg_filepath_cache_reset(); forward($_SERVER['HTTP_REFERER']); exit; |