From: Chad Horohoe Date: Wed, 6 Jan 2016 23:04:30 +0000 (-0800) Subject: Remove WebRequest::appendQuery() X-Git-Tag: 1.31.0-rc.0~8420^2 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=a40f39922fbe2bcf5bb4428faecf44bcec6e635a;p=lhc%2Fweb%2Fwiklou.git Remove WebRequest::appendQuery() Deprecated in 1.25, nothing uses it. You should use appendQueryValue() or appendQueryArray() Change-Id: Ia2347a1eaf6d9c6cfc600947e577c08cd482a5ac --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 6cb39d8d8f..7e22404c6a 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -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