Merge "Remove modification of wgCheckUserLogAdditionalRights"

This commit is contained in:
jenkins-bot 2024-06-28 17:05:35 +00:00 committed by Gerrit Code Review
commit 7cca085e24

View file

@ -241,8 +241,6 @@ class AbuseLogger {
if ( ExtensionRegistry::getInstance()->isLoaded( 'CheckUser' )
&& strpos( $this->options->get( 'AbuseFilterNotifications' ), 'rc' ) === false
) {
global $wgCheckUserLogAdditionalRights;
$wgCheckUserLogAdditionalRights[] = 'abusefilter-view';
$entry = $this->newLocalLogEntryFromData( $data );
$user = $entry->getPerformerIdentity();
// Invert the hack from ::buildLogTemplate because CheckUser attempts