aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/enable.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-20 23:23:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-20 23:23:22 +0000
commit4160e524d613c840811ee18fd8b0f303be58fba4 (patch)
tree57b452e979b9dbf0ada93eb109a2d0bf07f78dc7 /actions/admin/plugins/enable.php
parent32394a4b178c9e580a2d0ab9f7a3bcc35defb40c (diff)
downloadelgg-4160e524d613c840811ee18fd8b0f303be58fba4.tar.gz
elgg-4160e524d613c840811ee18fd8b0f303be58fba4.tar.bz2
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
Diffstat (limited to 'actions/admin/plugins/enable.php')
-rw-r--r--actions/admin/plugins/enable.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index 0510fafa8..92ccd185b 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -28,8 +28,9 @@ foreach ($plugin as $p) {
}
}
-// 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