Use the new sequence name

This commit is contained in:
Greg Sabino Mullane 2009-11-27 15:36:30 +00:00
parent 0c23075ba3
commit ef71cac5a9

View file

@ -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,