Merge "resourceloader: Remove obsolete msg_resource database table"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 14 Dec 2015 01:46:19 +0000 (01:46 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 14 Dec 2015 01:46:19 +0000 (01:46 +0000)
includes/api/ApiMain.php
includes/user/LocalIdLookup.php

index 0d1314f..49b9786 100644 (file)
@@ -1294,7 +1294,7 @@ class ApiMain extends ApiBase {
                        'dt' => date( 'c' ),
                        'client_ip' => $request->getIP(),
                        'user_agent' => $this->getUserAgent(),
-                       'wiki' => wfWikiId(),
+                       'wiki' => wfWikiID(),
                        'time_backend_ms' => round( $time * 1000 ),
                        'params' => array(),
                );
index 04c5b90..58892ea 100644 (file)
@@ -40,7 +40,7 @@ class LocalIdLookup extends CentralIdLookup {
                }
 
                // Easy case, we're checking locally
-               if ( $wikiId === null || $wikiId === wfWikiId() ) {
+               if ( $wikiId === null || $wikiId === wfWikiID() ) {
                        return true;
                }