Don't add 'anononly' flag for Abuse filter blocks

Bug: T131362
Change-Id: I6421293195d2d86574f8ecda9b467e1fedabc3ba
This commit is contained in:
Glaisher 2016-03-31 20:42:30 +05:00
parent 0c40e76a3e
commit bbd3574731

View file

@ -1370,7 +1370,7 @@ class AbuseFilter {
$logParams['5::duration'] = ( $block->mExpiry === 'infinity' )
? 'indefinite'
: $expiry;
$flags = array( 'anononly' , 'nocreate' );
$flags = array( 'nocreate' );
if ( !$block->isAutoblocking() && !IP::isIPAddress( $target ) ) {
// Conditionally added same as SpecialBlock
$flags[] = 'noautoblock';