aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/admin/plugins/disable.php2
-rw-r--r--actions/admin/plugins/enable.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index 92c410e45..ae3139ef1 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.php
@@ -24,6 +24,6 @@
else
system_message(sprintf(elgg_echo('admin:plugins:disable:no'), $plugin));
- header("Location: {$CONFIG->wwwroot}admin/plugins/");
+ forward($_SERVER['HTTP_REFERER']);
exit;
?> \ No newline at end of file
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index 10c8ba7d0..28b0f9f33 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -24,6 +24,6 @@
else
system_message(sprintf(elgg_echo('admin:plugins:enable:no'), $plugin));
- header("Location: {$CONFIG->wwwroot}admin/plugins/");
+ forward($_SERVER['HTTP_REFERER']);
exit;
?> \ No newline at end of file