*/
class RevDelFileList extends RevDelList {
/** @var array */
- var $storeBatch;
+ public $storeBatch;
/** @var array */
- var $deleteBatch;
+ public $deleteBatch;
/** @var array */
- var $cleanupBatch;
+ public $cleanupBatch;
public function getType() {
return 'oldimage';
$archiveNames[] = $timestamp . '!' . $this->title->getDBkey();
}
- return $db->select( 'oldimage', OldLocalFile::selectFields(), array( 'oi_name' => $this->title->getDBkey(), 'oi_archive_name' => $archiveNames ), __METHOD__, array( 'ORDER BY' => 'oi_timestamp DESC' ) );
+ return $db->select(
+ 'oldimage',
+ OldLocalFile::selectFields(),
+ array(
+ 'oi_name' => $this->title->getDBkey(),
+ 'oi_archive_name' => $archiveNames
+ ),
+ __METHOD__,
+ array( 'ORDER BY' => 'oi_timestamp DESC' )
+ );
}
public function newItem( $row ) {
public function getSuppressBit() {
return File::DELETED_RESTRICTED;
}
-}
\ No newline at end of file
+}