Drop wfResetSessionID, deprecated in 1.27
[lhc/web/wiklou.git] / includes / FauxRequest.php
index 906e5e2..ecbc6e3 100644 (file)
@@ -170,17 +170,6 @@ class FauxRequest extends WebRequest {
                return $this->requestUrl;
        }
 
-       public function getFullRequestURL() {
-               // Pass an explicit PROTO constant instead of PROTO_CURRENT so that we
-               // do not rely on state from the global $wgRequest object (which it would,
-               // via wfGetServerUrl/wfExpandUrl/$wgRequest->protocol).
-               if ( $this->protocol === 'http' ) {
-                       return wfGetServerUrl( PROTO_HTTP ) . $this->getRequestURL();
-               } else {
-                       return wfGetServerUrl( PROTO_HTTPS ) . $this->getRequestURL();
-               }
-       }
-
        public function getProtocol() {
                return $this->protocol;
        }