*/ class SiteSQLStore extends CachingSiteStore { /** * @since 1.21 * @deprecated 1.25 Construct a SiteStore instance directly instead. * * @param ORMTable|null $sitesTable * @param BagOStuff|null $cache * * @return SiteStore */ public static function newInstance( ORMTable $sitesTable = null, BagOStuff $cache = null ) { if ( $cache === null ) { $cache = wfGetCache( wfIsHHVM() ? CACHE_ACCEL : CACHE_ANYTHING ); } $siteStore = new DBSiteStore(); return new static( $siteStore, $cache ); } }