mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Fix bug in testing interface introduced by rsomething
This commit is contained in:
parent
82c958e434
commit
31c6e1d519
|
@ -1256,6 +1256,8 @@ class AbuseFilter {
|
|||
$vars = self::getMoveVarsFromRCRow( $row );
|
||||
} elseif ( $row->rc_log_type == 'newusers' ) {
|
||||
$vars = self::getCreateVarsFromRCRow( $row );
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
$vars->setVar( 'context', 'generated' );
|
||||
return $vars;
|
||||
|
|
Loading…
Reference in a new issue