Remove WebRequest::appendQuery()
authorChad Horohoe <chadh@wikimedia.org>
Wed, 6 Jan 2016 23:04:30 +0000 (15:04 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Wed, 6 Jan 2016 23:04:30 +0000 (15:04 -0800)
Deprecated in 1.25, nothing uses it. You should use appendQueryValue()
or appendQueryArray()

Change-Id: Ia2347a1eaf6d9c6cfc600947e577c08cd482a5ac

includes/WebRequest.php

index 6cb39d8..7e22404 100644 (file)
@@ -726,17 +726,6 @@ class WebRequest {
                return wfExpandUrl( $this->getRequestURL(), PROTO_CURRENT );
        }
 
-       /**
-        * Take an arbitrary query and rewrite the present URL to include it
-        * @deprecated Use appendQueryValue/appendQueryArray instead
-        * @param string $query Query string fragment; do not include initial '?'
-        * @return string
-        */
-       public function appendQuery( $query ) {
-               wfDeprecated( __METHOD__, '1.25' );
-               return $this->appendQueryArray( wfCgiToArray( $query ) );
-       }
-
        /**
         * @param string $key
         * @param string $value