mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Remove some ugly debugging code
This commit is contained in:
parent
0879428747
commit
1c69a9c569
|
@ -123,7 +123,6 @@ class AbuseFilter {
|
|||
return self::checkOperator( $thisWord, $value, $parameters );
|
||||
}
|
||||
} else {
|
||||
print "Word $thisWord is not a variable (".implode(',', array_keys($vars)).")\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ class AbuseFilterHooks {
|
|||
$vars = array();
|
||||
|
||||
$vars['ACTION'] = 'createaccount';
|
||||
$vars['ACCOUNTNAME'] = $username;
|
||||
$vars['ACCOUNTNAME'] = $vars['USER_NAME'] = $username;
|
||||
|
||||
$filter_result = AbuseFilter::filterAction( $vars, SpecialPage::getTitleFor( 'Userlogin' ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue