* $wgSharedDB and $wgSharedTables set, and that all wikis involved in the
* sharing are listed in $wgLocalDatabases, and that no wikis not involved in
* the sharing are listed in $wgLocalDatabases.
+ * @since 1.27
*/
class LocalIdLookup extends CentralIdLookup {
}
// Easy case, we're checking locally
- if ( $wikiId === null || $wikiId === wfWikiId() ) {
+ if ( $wikiId === null || $wikiId === wfWikiID() ) {
return true;
}