mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 14:06:52 +00:00
Merge "Use statslib instead of statsd in DirectParsoidClient"
This commit is contained in:
commit
03f8d2b916
|
@ -108,10 +108,8 @@ class DirectParsoidClient implements ParsoidClient {
|
|||
$pageLanguage
|
||||
);
|
||||
|
||||
$metrics = MediaWikiServices::getInstance()->getParsoidSiteConfig()->metrics();
|
||||
if ( $metrics ) {
|
||||
$helper->setMetrics( $metrics );
|
||||
}
|
||||
$statsFactory = MediaWikiServices::getInstance()->getParsoidSiteConfig()->prefixedStatsFactory();
|
||||
$helper->setMetrics( $statsFactory );
|
||||
|
||||
return $helper;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue