From a40f39922fbe2bcf5bb4428faecf44bcec6e635a Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 6 Jan 2016 15:04:30 -0800 Subject: [PATCH] Remove WebRequest::appendQuery() Deprecated in 1.25, nothing uses it. You should use appendQueryValue() or appendQueryArray() Change-Id: Ia2347a1eaf6d9c6cfc600947e577c08cd482a5ac --- includes/WebRequest.php | 11 ----------- 1 file changed, 11 deletions(-) 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 -- 2.20.1