summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-15 16:55:01 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-15 16:55:01 -0700
commit8c24a3bc92484d19ed4ba489d2d7b1172f4b355d (patch)
treeca1efd884569e02a573c3a10309e15abee3754e9 /classes
parentf80966324560d4309b3bb2d6d357719e1e90e6aa (diff)
a little better query handling in redirect code
Diffstat (limited to 'classes')
-rw-r--r--classes/Status_network.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/Status_network.php b/classes/Status_network.php
index 03e8f4525..17b688740 100644
--- a/classes/Status_network.php
+++ b/classes/Status_network.php
@@ -95,18 +95,6 @@ class Status_network extends DB_DataObject
$destination = 'http://'.$this->hostname;
$destination .= $_SERVER['REQUEST_URI'];
- $args = $_GET;
-
- if (isset($args['p'])) {
- unset($args['p']);
- }
-
- $query = http_build_query($args);
-
- if (strlen($query) > 0) {
- $destination .= '?' . $query;
- }
-
$old = 'http'.
(($_SERVER['HTTPS'] == 'on') ? 'S' : '').
'://'.