MediaWiki  1.28.1
SiteSQLStore Class Reference

Static Public Member Functions

static newInstance ($sitesTable=null, BagOStuff $cache=null)
 Returns the global SiteStore instance. More...
 

Detailed Description

Definition at line 29 of file SiteSQLStore.php.

Member Function Documentation

static SiteSQLStore::newInstance (   $sitesTable = null,
BagOStuff  $cache = null 
)
static

Returns the global SiteStore instance.

This is a relict of the first implementation of SiteStore, and is kept around for compatibility.

Note
This does not return an instance of SiteSQLStore!
Since
1.21
Deprecated:
since 1.27 use MediaWikiServices::getSiteStore() or MediaWikiServices::getSiteLookup() instead.
Parameters
null$sitesTableIGNORED
null$cacheIGNORED
Returns
SiteStore

Definition at line 46 of file SiteSQLStore.php.


The documentation for this class was generated from the following file: