]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
a little better query handling in redirect code
authorEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 23:55:01 +0000 (16:55 -0700)
committerEvan Prodromou <evan@controlyourself.ca>
Mon, 15 Jun 2009 23:55:01 +0000 (16:55 -0700)
classes/Status_network.php

index 03e8f452598a2387ae9e422d3787c13248c5d9af..17b68874080a6f098e90e44e7a746ef4ba926d04 100644 (file)
@@ -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' : '').
           '://'.