Fix class and function name case

Change-Id: I55ed3b26ee457863372ec063b7c3ff27bc849b8b
This commit is contained in:
Max Semenik 2017-08-07 16:22:48 -07:00
parent 7e62f23242
commit de7389e19a
3 changed files with 3 additions and 3 deletions

View file

@ -2019,7 +2019,7 @@ class AbuseFilter {
static function translateFromHistory( $row ) {
# Translate into an abuse_filter row with some black magic.
# This is ever so slightly evil!
$af_row = new StdClass;
$af_row = new stdClass;
foreach ( self::$history_mappings as $af_col => $afh_col ) {
$af_row->$af_col = $row->$afh_col;

View file

@ -277,7 +277,7 @@ class AbuseFilterHooks {
$fdb->update( 'abuse_filter_log',
[ 'afl_rev_id' => $revision->getId() ],
[ 'afl_id' => $log_ids, 'afl_wiki' => wfWikiId() ],
[ 'afl_id' => $log_ids, 'afl_wiki' => wfWikiID() ],
__METHOD__
);
}

View file

@ -211,7 +211,7 @@ class AbuseFilterViewRevert extends AbuseFilterView {
return true;
case 'blockautopromote':
ObjectCache::getMainStashInstance()->delete(
AbuseFilter::autopromoteBlockKey( User::newFromId( $result['userid'] ) )
AbuseFilter::autoPromoteBlockKey( User::newFromId( $result['userid'] ) )
);
return true;
case 'degroup':