Use updated CheckUser Hooks class

Depends-On: I3f66b660f9d59c0e88b182c9b06ee8cec994348e
Change-Id: Ia488ce647c5dbd0ab83d2782e76d8c6a35f53bfb
This commit is contained in:
Reedy 2021-02-11 19:26:23 +00:00
parent 4dc5e493df
commit e197161c79

View file

@ -2,11 +2,11 @@
namespace MediaWiki\Extension\AbuseFilter;
use CheckUserHooks;
use DeferredUpdates;
use ExtensionRegistry;
use InvalidArgumentException;
use ManualLogEntry;
use MediaWiki\CheckUser\Hooks;
use MediaWiki\Config\ServiceOptions;
use MediaWiki\Extension\AbuseFilter\Variables\VariableHolder;
use MediaWiki\Extension\AbuseFilter\Variables\VariablesBlobStore;
@ -254,7 +254,7 @@ class AbuseLogger {
global $wgCheckUserLogAdditionalRights;
$wgCheckUserLogAdditionalRights[] = 'abusefilter-view';
$rc = $entry->getRecentChange();
CheckUserHooks::updateCheckUserData( $rc );
Hooks::updateCheckUserData( $rc );
}
if ( $this->options->get( 'AbuseFilterNotifications' ) !== false ) {