mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 15:44:33 +00:00
Update WikibaseClient::getSite() call
Bug: T276349 Change-Id: I37b7876c43a7c21fc14f228f3133ed897742bb4e Depends-On: I9724724a635b808a7f1a8c88447216dc0d1dd738
This commit is contained in:
parent
9247f49067
commit
2afaad505d
|
@ -149,7 +149,7 @@ class MathWikibaseConfig {
|
|||
|
||||
$site = null;
|
||||
try {
|
||||
$site = $wikibaseClient->getSite();
|
||||
$site = WikibaseClient::getSite();
|
||||
} catch ( MWException $e ) {
|
||||
$logger = LoggerFactory::getInstance( 'Math' );
|
||||
$logger->warning( "Cannot get Site handler: " . $e->getMessage() );
|
||||
|
|
Loading…
Reference in a new issue