mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 02:38:16 +00:00
Use correct variable in AbuseFilter::addLogEntries
The data was inserted to the foreign database, so the id needs to be fetch from that one. Change-Id: I8eef8d74fc924829447e31f4445154b01b92aa7a
This commit is contained in:
parent
3016f32e3a
commit
6eb5d9766b
|
@ -1420,7 +1420,7 @@ class AbuseFilter {
|
|||
|
||||
foreach ( $central_log_rows as $row ) {
|
||||
$fdb->insert( 'abuse_filter_log', $row, __METHOD__ );
|
||||
$global_log_ids[] = $dbw->insertId();
|
||||
$global_log_ids[] = $fdb->insertId();
|
||||
}
|
||||
|
||||
$fdb->onTransactionPreCommitOrIdle(
|
||||
|
|
Loading…
Reference in a new issue