X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFeedUtils.php;h=4dde52d0b459b1e3d4daa1c7a436ef38dc252f93;hb=0406ae156a7441c345a6239fdef936c1945251c3;hp=b1c3ce615a679e6cb24e4a26d6dc6083350c1f5f;hpb=15695b1eef45a4650ad95da0a75818d64e0c14c8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index b1c3ce615a..4dde52d0b4 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -89,9 +89,7 @@ class FeedUtils { $timestamp, $row->rc_deleted & Revision::DELETED_COMMENT ? wfMessage( 'rev-deleted-comment' )->escaped() - : CommentStore::newKey( 'rc_comment' ) - // Legacy from RecentChange::selectFields() via ChangesListSpecialPage::doMainQuery() - ->getCommentLegacy( wfGetDB( DB_REPLICA ), $row )->text, + : CommentStore::getStore()->getComment( 'rc_comment', $row )->text, $actiontext ); } @@ -99,7 +97,7 @@ class FeedUtils { /** * Really format a diff for the newsfeed * - * @param Title $title Title object + * @param Title $title * @param int $oldid Old revision's id * @param int $newid New revision's id * @param int $timestamp New revision's timestamp