$dbw->update(
'recentchanges',
- array( $updatedValues ),
- array(
+ [ $updatedValues ],
+ [
"rc_source = ''",
"rc_id BETWEEN $blockStart AND $blockEnd"
- ),
+ ],
__METHOD__
);
return __CLASS__;
}
- protected function buildUpdateCondition( DatabaseBase $dbw ) {
+ protected function buildUpdateCondition( Database $dbw ) {
$rcNew = $dbw->addQuotes( RC_NEW );
$rcSrcNew = $dbw->addQuotes( RecentChange::SRC_NEW );
$rcEdit = $dbw->addQuotes( RC_EDIT );