mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Fix class and function name case
Change-Id: I55ed3b26ee457863372ec063b7c3ff27bc849b8b
This commit is contained in:
parent
7e62f23242
commit
de7389e19a
|
@ -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;
|
||||
|
|
|
@ -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__
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue