Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/105456
Change subject: Call Language::getLocalisationCache() static ...................................................................... Call Language::getLocalisationCache() static Change-Id: Ibbe03b92f2beebaaf93ba9e3c5bebbf3d7626b7a --- M tests/phpunit/includes/logging/LogFormatterTest.php 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/56/105456/1 diff --git a/tests/phpunit/includes/logging/LogFormatterTest.php b/tests/phpunit/includes/logging/LogFormatterTest.php index 9650fb1..6210d09 100644 --- a/tests/phpunit/includes/logging/LogFormatterTest.php +++ b/tests/phpunit/includes/logging/LogFormatterTest.php @@ -32,7 +32,7 @@ 'wgExtensionMessagesFiles' => array( 'LogTests' => __DIR__ . '/LogTests.i18n.php' ), ) ); - $wgLang->getLocalisationCache()->recache( $wgLang->getCode() ); + Language::getLocalisationCache()->recache( $wgLang->getCode() ); $this->user = User::newFromName( 'Testuser' ); $this->title = Title::newMainPage(); @@ -47,7 +47,7 @@ parent::tearDown(); global $wgLang; - $wgLang->getLocalisationCache()->recache( $wgLang->getCode() ); + Language::getLocalisationCache()->recache( $wgLang->getCode() ); } public function newLogEntry( $action, $params ) { -- To view, visit https://gerrit.wikimedia.org/r/105456 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibbe03b92f2beebaaf93ba9e3c5bebbf3d7626b7a Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits