From 7c4ba8ffa30cfdedd254e0946f1351619ad9f190 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 16 Feb 2009 11:24:00 +0000 Subject: Simplecache improvements. git-svn-id: https://code.elgg.org/elgg/trunk@2760 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/plugins/disable.php | 2 ++ actions/admin/plugins/enable.php | 2 ++ actions/admin/plugins/reorder.php | 2 ++ 3 files changed, 6 insertions(+) (limited to 'actions') 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 -- cgit v1.2.3