Merge "Unroll Article::__call again"
[lhc/web/wiklou.git] / includes / user / LocalIdLookup.php
index 04c5b90..c0f9c05 100644 (file)
@@ -28,6 +28,7 @@
  *  $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 {
 
@@ -40,7 +41,7 @@ class LocalIdLookup extends CentralIdLookup {
                }
 
                // Easy case, we're checking locally
-               if ( $wikiId === null || $wikiId === wfWikiId() ) {
+               if ( $wikiId === null || $wikiId === wfWikiID() ) {
                        return true;
                }