From 75868f14ba9fd4df6925d03bf614405413800f72 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 8 Apr 2009 16:05:28 +0000 Subject: Refs #968 & #946: Tidied filepath cache stuff by placing them in function calls. git-svn-id: https://code.elgg.org/elgg/trunk@3194 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/plugins/disable.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'actions/admin/plugins/disable.php') diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php index 32ae451a7..f0e07d49b 100644 --- a/actions/admin/plugins/disable.php +++ b/actions/admin/plugins/disable.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; -- cgit v1.2.3