mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 02:38:16 +00:00
Use the new sequence name
This commit is contained in:
parent
0c23075ba3
commit
ef71cac5a9
|
@ -895,7 +895,7 @@ class AbuseFilter {
|
|||
$dbw = wfGetDB( DB_MASTER, array(), $wgAbuseFilterCentralDB );
|
||||
else
|
||||
$dbw = wfGetDB( DB_MASTER );
|
||||
$old_id = $dbw->nextSequenceValue( 'text_old_id_val' );
|
||||
$old_id = $dbw->nextSequenceValue( 'text_old_id_seq' );
|
||||
$dbw->insert( 'text',
|
||||
array(
|
||||
'old_id' => $old_id,
|
||||
|
|
Loading…
Reference in a new issue