diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/admin/plugins/disable.php | 2 | ||||
-rw-r--r-- | actions/admin/plugins/enable.php | 2 | ||||
-rw-r--r-- | actions/admin/plugins/reorder.php | 2 |
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 |