From: Max Semenik Date: Sat, 8 Dec 2018 21:11:27 +0000 (-0800) Subject: Hard deprecated SiteSQLStore::newInstance() X-Git-Tag: 1.34.0-rc.0~3298^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=fa432176d1aa6e92a6473aa5ae031ef447def599 Hard deprecated SiteSQLStore::newInstance() Deprecated in 1.27, no callers. Change-Id: Ia262790cc6804b29fee656d0f53be1374bf04c2f --- diff --git a/includes/site/SiteSQLStore.php b/includes/site/SiteSQLStore.php index 91d9ef7c5d..b106d11794 100644 --- a/includes/site/SiteSQLStore.php +++ b/includes/site/SiteSQLStore.php @@ -44,6 +44,7 @@ class SiteSQLStore { * @return SiteStore */ public static function newInstance( $sitesTable = null, BagOStuff $cache = null ) { + wfDeprecated( __METHOD__, '1.27' ); if ( $sitesTable !== null ) { throw new InvalidArgumentException( __METHOD__ . ': $sitesTable parameter is unused and must be null'