aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins/disable.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 13:41:18 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 13:41:18 +0000
commit413a573d493ebdd27d86f5947fba621198c0747b (patch)
treed131dad86aa6de56d5f7024b38633ce2012a1c1b /actions/admin/plugins/disable.php
parent85dee194f87649c07c5bb94ef390ae0aea24c8ae (diff)
downloadelgg-413a573d493ebdd27d86f5947fba621198c0747b.tar.gz
elgg-413a573d493ebdd27d86f5947fba621198c0747b.tar.bz2
Forwards to http_referer
git-svn-id: https://code.elgg.org/elgg/trunk@1055 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin/plugins/disable.php')
-rw-r--r--actions/admin/plugins/disable.php2
1 files changed, 1 insertions, 1 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