aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/plugins')
-rw-r--r--actions/admin/plugins/disable.php2
-rw-r--r--actions/admin/plugins/disableall.php2
-rw-r--r--actions/admin/plugins/enable.php2
-rw-r--r--actions/admin/plugins/enableall.php2
-rw-r--r--actions/admin/plugins/reorder.php2
-rw-r--r--actions/admin/plugins/simple_update_states.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/actions/admin/plugins/disable.php b/actions/admin/plugins/disable.php
index 5ad49d2c7..48116e43a 100644
--- a/actions/admin/plugins/disable.php
+++ b/actions/admin/plugins/disable.php
@@ -32,4 +32,4 @@ foreach ($plugin as $p) {
elgg_invalidate_simplecache();
elgg_filepath_cache_reset();
-forward($_SERVER['HTTP_REFERER']);
+forward(REFERER);
diff --git a/actions/admin/plugins/disableall.php b/actions/admin/plugins/disableall.php
index f2545fb0e..bd68c17b1 100644
--- a/actions/admin/plugins/disableall.php
+++ b/actions/admin/plugins/disableall.php
@@ -27,4 +27,4 @@ foreach ($plugins as $p => $data) {
elgg_invalidate_simplecache();
elgg_filepath_cache_reset();
-forward($_SERVER['HTTP_REFERER']);
+forward(REFERER);
diff --git a/actions/admin/plugins/enable.php b/actions/admin/plugins/enable.php
index 92ccd185b..b15666093 100644
--- a/actions/admin/plugins/enable.php
+++ b/actions/admin/plugins/enable.php
@@ -33,4 +33,4 @@ foreach ($plugin as $p) {
elgg_invalidate_simplecache();
elgg_filepath_cache_reset();
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file
diff --git a/actions/admin/plugins/enableall.php b/actions/admin/plugins/enableall.php
index 5a85b6e07..b959c235f 100644
--- a/actions/admin/plugins/enableall.php
+++ b/actions/admin/plugins/enableall.php
@@ -27,4 +27,4 @@ foreach ($plugins as $p => $data) {
elgg_invalidate_simplecache();
elgg_filepath_cache_reset();
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file
diff --git a/actions/admin/plugins/reorder.php b/actions/admin/plugins/reorder.php
index 165495050..e3c65f6e5 100644
--- a/actions/admin/plugins/reorder.php
+++ b/actions/admin/plugins/reorder.php
@@ -50,4 +50,4 @@ if (regenerate_plugin_list($plugins)) {
elgg_invalidate_simplecache();
elgg_filepath_cache_reset();
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file
diff --git a/actions/admin/plugins/simple_update_states.php b/actions/admin/plugins/simple_update_states.php
index a81cb6a7a..7d01e4a46 100644
--- a/actions/admin/plugins/simple_update_states.php
+++ b/actions/admin/plugins/simple_update_states.php
@@ -50,4 +50,4 @@ if ($success) {
elgg_invalidate_simplecache();
elgg_filepath_cache_reset();
-forward($_SERVER['HTTP_REFERER']); \ No newline at end of file
+forward(REFERER); \ No newline at end of file