mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Merge "Hardcode 'abusefilter-view' right when adding CU log entry"
This commit is contained in:
commit
001d8b92fb
|
@ -1261,6 +1261,8 @@ class AbuseFilterRunner {
|
|||
if ( ExtensionRegistry::getInstance()->isLoaded( 'CheckUser' )
|
||||
&& strpos( $wgAbuseFilterNotifications, 'rc' ) === false
|
||||
) {
|
||||
global $wgCheckUserLogAdditionalRights;
|
||||
$wgCheckUserLogAdditionalRights[] = 'abusefilter-view';
|
||||
$rc = $entry->getRecentChange();
|
||||
CheckUserHooks::updateCheckUserData( $rc );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue