Update WikibaseClient::getSite() call

Bug: T276349
Change-Id: I37b7876c43a7c21fc14f228f3133ed897742bb4e
Depends-On: I9724724a635b808a7f1a8c88447216dc0d1dd738
This commit is contained in:
Lucas Werkmeister 2021-03-04 11:37:03 +01:00
parent 9247f49067
commit 2afaad505d

View file

@ -149,7 +149,7 @@ class MathWikibaseConfig {
$site = null; $site = null;
try { try {
$site = $wikibaseClient->getSite(); $site = WikibaseClient::getSite();
} catch ( MWException $e ) { } catch ( MWException $e ) {
$logger = LoggerFactory::getInstance( 'Math' ); $logger = LoggerFactory::getInstance( 'Math' );
$logger->warning( "Cannot get Site handler: " . $e->getMessage() ); $logger->warning( "Cannot get Site handler: " . $e->getMessage() );