mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Use updated CheckUser Hooks class
Depends-On: I3f66b660f9d59c0e88b182c9b06ee8cec994348e Change-Id: Ia488ce647c5dbd0ab83d2782e76d8c6a35f53bfb
This commit is contained in:
parent
4dc5e493df
commit
e197161c79
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue