aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/enable.php
diff options
context:
space:
mode:
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;