aboutsummaryrefslogtreecommitdiff
path: root/actions
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
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')
-rw-r--r--actions/admin/plugins/disable.php2
-rw-r--r--actions/admin/plugins/enable.php2
-rw-r--r--actions/admin/plugins/reorder.php2
3 files changed, 6 insertions, 0 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index e5312b13e..8724759a6 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.php
@@ -26,6 +26,8 @@
system_message(sprintf(elgg_echo('admin:plugins:disable:yes'), $plugin));
else
register_error(sprintf(elgg_echo('admin:plugins:disable:no'), $plugin));
+
+ elgg_view_regenerate_simplecache();
forward($_SERVER['HTTP_REFERER']);
exit;
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;
diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php
index 1f26f5ec1..be5981394 100644
--- a/actions/admin/plugins/reorder.php
+++ b/actions/admin/plugins/reorder.php
@@ -46,6 +46,8 @@
else
register_error(sprintf(elgg_echo('admin:plugins:reorder:no'), $plugin));
+ elgg_view_regenerate_simplecache();
+
forward($_SERVER['HTTP_REFERER']);
?> \ No newline at end of file