Change-Id: Ibbe03b92f2beebaaf93ba9e3c5bebbf3d7626b7a
'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();
parent::tearDown();
global $wgLang;
- $wgLang->getLocalisationCache()->recache( $wgLang->getCode() );
+ Language::getLocalisationCache()->recache( $wgLang->getCode() );
}
public function newLogEntry( $action, $params ) {