}
if ( $this->fld_comment || $this->fld_parsedcomment ) {
- $this->commentStore = new CommentStore( 'rc_comment' );
+ $this->commentStore = CommentStore::getStore();
}
}
Revision::DELETED_COMMENT,
$user
) ) {
- $comment = $this->commentStore->getComment( $recentChangeInfo )->text;
+ $comment = $this->commentStore->getComment( 'rc_comment', $recentChangeInfo )->text;
if ( $this->fld_comment ) {
$vals['comment'] = $comment;
}