From 4160e524d613c840811ee18fd8b0f303be58fba4 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 20 Oct 2010 23:23:22 +0000 Subject: Refs #2537 - merged [7026] into trunk from 1.7 branch git-svn-id: http://code.elgg.org/elgg/trunk@7110 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/plugins/simple_update_states.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'actions/admin/plugins/simple_update_states.php') diff --git a/actions/admin/plugins/simple_update_states.php b/actions/admin/plugins/simple_update_states.php index 1945868f2..d9d8fd3e8 100644 --- a/actions/admin/plugins/simple_update_states.php +++ b/actions/admin/plugins/simple_update_states.php @@ -44,8 +44,9 @@ if ($success) { register_error(elgg_echo('admins:plugins:simple_simple_fail')); } -// need to reset caches for new view locations and cached view output. -elgg_view_regenerate_simplecache(); +// don't regenerate the simplecache because the plugin won't be +// loaded until next run. Just invalidate and let it regnerate as needed +elgg_invalidate_simplecache(); elgg_filepath_cache_reset(); forward($_SERVER['HTTP_REFERER']); \ No newline at end of file -- cgit v1.2.3