dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "maintenance: Explicitly declare all used properties"
[lhc/web/wiklou.git]
/
includes
/
revisiondelete
/
RevDelArchivedFileList.php
diff --git
a/includes/revisiondelete/RevDelArchivedFileList.php
b/includes/revisiondelete/RevDelArchivedFileList.php
index
f2b99ae
..
1ed8726
100644
(file)
--- a/
includes/revisiondelete/RevDelArchivedFileList.php
+++ b/
includes/revisiondelete/RevDelArchivedFileList.php
@@
-19,6
+19,8
@@
* @ingroup RevisionDelete
*/
* @ingroup RevisionDelete
*/
+use Wikimedia\Rdbms\IDatabase;
+
/**
* List for filearchive table items
*/
/**
* List for filearchive table items
*/
@@
-38,15
+40,17
@@
class RevDelArchivedFileList extends RevDelFileList {
public function doQuery( $db ) {
$ids = array_map( 'intval', $this->ids );
public function doQuery( $db ) {
$ids = array_map( 'intval', $this->ids );
+ $fileQuery = ArchivedFile::getQueryInfo();
return $db->select(
return $db->select(
-
'filearchive'
,
-
ArchivedFile::selectFields()
,
- array(
+
$fileQuery['tables']
,
+
$fileQuery['fields']
,
+ [
'fa_name' => $this->title->getDBkey(),
'fa_id' => $ids
'fa_name' => $this->title->getDBkey(),
'fa_id' => $ids
-
)
,
+
]
,
__METHOD__,
__METHOD__,
- array( 'ORDER BY' => 'fa_id DESC' )
+ [ 'ORDER BY' => 'fa_id DESC' ],
+ $fileQuery['joins']
);
}
);
}