From 3423daa3784995f25b72ebfb1e17d59f745f9354 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 2 Nov 2010 18:20:13 +0000 Subject: Using REFERER shorthand throughout core git-svn-id: http://code.elgg.org/elgg/trunk@7193 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/plugins/disable.php | 2 +- actions/admin/plugins/disableall.php | 2 +- actions/admin/plugins/enable.php | 2 +- actions/admin/plugins/enableall.php | 2 +- actions/admin/plugins/reorder.php | 2 +- actions/admin/plugins/simple_update_states.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'actions/admin/plugins') 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 -- cgit v1.2.3