' != ' . Revision::SUPPRESSED_USER;
}
- $commentQuery = CommentStore::newKey( 'ar_comment' )->getJoin();
+ $commentQuery = CommentStore::getStore()->getJoin( 'ar_comment' );
return [
'tables' => [ 'archive' ] + $commentQuery['tables'],
$rev = new Revision( [
'title' => $page,
'id' => $row->ar_rev_id,
- 'comment' => CommentStore::newKey( 'ar_comment' )->getComment( $row )->text,
+ 'comment' => CommentStore::getStore()->getComment( 'ar_comment', $row )->text,
'user' => $row->ar_user,
'user_text' => $row->ar_user_text,
'timestamp' => $row->ar_timestamp,