37 $dbw->update(
'archive',
38 [
'ar_deleted' => $bits ],
39 [
'ar_rev_id' => $this->row->ar_rev_id,
40 'ar_deleted' => $this->getBits()
44 return (
bool)$dbw->affectedRows();
wfGetDB( $db, $groups=[], $wiki=false)
Get a Database object.
Item class for a archive table row.
Item class for a archive table row by ar_rev_id – actually used via RevDelRevisionList.
setBits( $bits)
Set the visibility of the item.
getId()
Get the ID, as it would appear in the ids URL parameter.
getIdField()
Get the DB field name associated with the ID list.
getRevisionRecord()
Get the RevisionRecord for the item.