From: Adam Roses Wight Date: Mon, 14 Dec 2015 01:20:41 +0000 (-0800) Subject: Fix case of wfWikiID calls X-Git-Tag: 1.31.0-rc.0~8691 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=86ba73e1efd0f4c463eb700100623f643736d94c;p=lhc%2Fweb%2Fwiklou.git Fix case of wfWikiID calls Change-Id: I1f980962dd2d0b2f05b14e506f679e21e3d67334 --- diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 0d1314fb78..49b9786ccb 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -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(), ); diff --git a/includes/user/LocalIdLookup.php b/includes/user/LocalIdLookup.php index 04c5b905ab..58892ea5ee 100644 --- a/includes/user/LocalIdLookup.php +++ b/includes/user/LocalIdLookup.php @@ -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; }