aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/enable.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 11:24:00 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 11:24:00 +0000
commit7c4ba8ffa30cfdedd254e0946f1351619ad9f190 (patch)
tree8ca048aeaae7435f8bd4461cf1654f0f449d8ff6 /actions/admin/plugins/enable.php
parent67961769f46444e5462f63212409ae0e69e217f1 (diff)
downloadelgg-7c4ba8ffa30cfdedd254e0946f1351619ad9f190.tar.gz
elgg-7c4ba8ffa30cfdedd254e0946f1351619ad9f190.tar.bz2
Simplecache improvements.
git-svn-id: https://code.elgg.org/elgg/trunk@2760 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/plugins/enable.php')
-rw-r--r--actions/admin/plugins/enable.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index 08e048586..0a9086b91 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -26,6 +26,8 @@
system_message(sprintf(elgg_echo('admin:plugins:enable:yes'), $plugin));
else
register_error(sprintf(elgg_echo('admin:plugins:enable:no'), $plugin));
+
+ elgg_view_regenerate_simplecache();
forward($_SERVER['HTTP_REFERER']);
exit;