Remove deprecated ChangesList::newFromUser function
newFromUser() is unused in core and all extensions in gerrit, except BlueSpiceExtensions RSSStandards. (there is a patch for that I1455052) Change-Id: I4559146cc0e9973e6e4f6297138cbfd8e387e8b7
This commit is contained in:
parent
4b60bdab97
commit
4ba5a09d05
1 changed files with 0 additions and 13 deletions
|
|
@ -49,19 +49,6 @@ class ChangesList extends ContextSource {
|
|||
$this->preCacheMessages();
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch an appropriate changes list class for the main context
|
||||
* This first argument used to be an User object.
|
||||
*
|
||||
* @deprecated in 1.18; use newFromContext() instead
|
||||
* @param string|User $unused Unused
|
||||
* @return ChangesList|EnhancedChangesList|OldChangesList derivative
|
||||
*/
|
||||
public static function newFromUser( $unused ) {
|
||||
wfDeprecated( __METHOD__, '1.18' );
|
||||
return self::newFromContext( RequestContext::getMain() );
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch an appropriate changes list class for the specified context
|
||||
* Some users might want to use an enhanced list format, for instance
|
||||
|
|
|
|||
Loading…
Reference in a new issue