Remove WebRequest::appendQuery()

Deprecated in 1.25, nothing uses it. You should use appendQueryValue()
or appendQueryArray()

Change-Id: Ia2347a1eaf6d9c6cfc600947e577c08cd482a5ac
This commit is contained in:
Chad Horohoe 2016-01-06 15:04:30 -08:00
parent d828147333
commit a40f39922f

View 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