mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Merge "Fix StatsdDataFactory injection"
This commit is contained in:
commit
ea6a6ab4fc
|
@ -138,7 +138,7 @@ class FilterRunnerFactory {
|
|||
new EditStashCache(
|
||||
$this->localCache,
|
||||
// Bots do not use edit stashing, so avoid distorting the stats
|
||||
$user->isBot() ? $this->statsdDataFactory : new NullStatsdDataFactory(),
|
||||
$user->isBot() ? new NullStatsdDataFactory() : $this->statsdDataFactory,
|
||||
$this->varManager,
|
||||
$this->editStashLogger,
|
||||
$title,
|
||||
|
|
Loading…
Reference in a new issue