aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/plugins
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 18:20:13 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-02 18:20:13 +0000
commit3423daa3784995f25b72ebfb1e17d59f745f9354 (patch)
tree67c91d9979825a40906b432dad40afe860458930 /actions/admin/plugins
parent9e4472a987fb626b370f36377f761bde5ba32bdd (diff)
downloadelgg-3423daa3784995f25b72ebfb1e17d59f745f9354.tar.gz
elgg-3423daa3784995f25b72ebfb1e17d59f745f9354.tar.bz2
Using REFERER shorthand throughout core
git-svn-id: http://code.elgg.org/elgg/trunk@7193 36083f99-b078-4883-b0ff-0f9b5a30f544
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