aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-12 20:23:51 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-12 20:23:51 +0000
commit9c6eb2dae8143d7b615d213869bca4b5b2456a98 (patch)
treee2ad4b7d84642fcb35fedbf81e79c1cb2a6a6005 /actions
parent365e4fb08bbc5449d32e25e09face877afee4366 (diff)
downloadelgg-9c6eb2dae8143d7b615d213869bca4b5b2456a98.tar.gz
elgg-9c6eb2dae8143d7b615d213869bca4b5b2456a98.tar.bz2
Merged r6362:6366 from 1.7 to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6469 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions')
-rw-r--r--actions/register.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/actions/register.php b/actions/register.php
index 556bad4cd..b5733635f 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -78,8 +78,4 @@ if ($CONFIG->allow_registration) {
register_error(elgg_echo('registerdisabled'));
}
-$qs = explode('?',$_SERVER['HTTP_REFERER']);
-$qs = $qs[0];
-$qs .= "?u=" . urlencode($username) . "&e=" . urlencode($email) . "&n=" . urlencode($name) . "&friend_guid=" . $friend_guid;
-
-forward($qs);
+forward(REFERER);