diff --git a/includes/AbuseLogger.php b/includes/AbuseLogger.php index d41fa3a48..5927b5582 100644 --- a/includes/AbuseLogger.php +++ b/includes/AbuseLogger.php @@ -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