Remove some ugly debugging code

This commit is contained in:
Andrew Garrett 2008-06-27 08:19:49 +00:00
parent 0879428747
commit 1c69a9c569
2 changed files with 1 additions and 2 deletions

View file

@ -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";
}
}

View file

@ -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' ) );