OutputPage: Remove 'mJQueryDone' property
[lhc/web/wiklou.git] / includes / revisiondelete / RevDelArchivedFileList.php
index 1538672..afee637 100644 (file)
@@ -32,16 +32,25 @@ class RevDelArchivedFileList extends RevDelFileList {
        }
 
        /**
-        * @param DatabaseBase $db
+        * @param IDatabase $db
         * @return mixed
         */
        public function doQuery( $db ) {
                $ids = array_map( 'intval', $this->ids );
 
-               return $db->select( 'filearchive', ArchivedFile::selectFields(), array( 'fa_name' => $this->title->getDBkey(), 'fa_id' => $ids ), __METHOD__, array( 'ORDER BY' => 'fa_id DESC' ) );
+               return $db->select(
+                       'filearchive',
+                       ArchivedFile::selectFields(),
+                       [
+                               'fa_name' => $this->title->getDBkey(),
+                               'fa_id' => $ids
+                       ],
+                       __METHOD__,
+                       [ 'ORDER BY' => 'fa_id DESC' ]
+               );
        }
 
        public function newItem( $row ) {
                return new RevDelArchivedFileItem( $this, $row );
        }
-}
\ No newline at end of file
+}