mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Merge "Remove modification of wgCheckUserLogAdditionalRights"
This commit is contained in:
commit
7cca085e24
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue