X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRevision%2FRevisionArchiveRecord.php;h=6e8db7fa87b5fdfcfd567e973388f9ad9fcb1ef1;hb=6cfb2e3d7a2b96d5041312fcec88248bb46573d7;hp=67dc9b26d98bfce4cc30f87a36ced529f99980eb;hpb=95e140cb71a8733d6e6cec9138908d00e192e93c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Revision/RevisionArchiveRecord.php b/includes/Revision/RevisionArchiveRecord.php index 67dc9b26d9..6e8db7fa87 100644 --- a/includes/Revision/RevisionArchiveRecord.php +++ b/includes/Revision/RevisionArchiveRecord.php @@ -54,8 +54,7 @@ class RevisionArchiveRecord extends RevisionRecord { * @param object $row An archive table row. Use RevisionStore::getArchiveQueryInfo() to build * a query that yields the required fields. * @param RevisionSlots $slots The slots of this revision. - * @param bool|string $wikiId the wiki ID of the site this Revision belongs to, - * or false for the local site. + * @param bool|string $dbDomain DB domain of the relevant wiki or false for the current one. */ function __construct( Title $title, @@ -63,9 +62,9 @@ class RevisionArchiveRecord extends RevisionRecord { CommentStoreComment $comment, $row, RevisionSlots $slots, - $wikiId = false + $dbDomain = false ) { - parent::__construct( $title, $slots, $wikiId ); + parent::__construct( $title, $slots, $dbDomain ); Assert::parameterType( 'object', $row, '$row' ); $timestamp = wfTimestamp( TS_MW, $row->ar_timestamp );