X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FFeedUtils.php;h=899ac09ad2b26498ce7311b13e38ee9cfca6a0fb;hb=8f8283cb0f3d95a809c7f63ab7effd30c4ecb894;hp=6108ca1d46b4326a0df2d69a8f812b204873c4bd;hpb=ea433039510bf7f57147cfd84b1b4e460e094433;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index 6108ca1d46..899ac09ad2 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -89,7 +89,7 @@ class FeedUtils { $timestamp, $row->rc_deleted & Revision::DELETED_COMMENT ? wfMessage( 'rev-deleted-comment' )->escaped() - : CommentStore::newKey( 'rc_comment' )->getComment( $row )->text, + : CommentStore::getStore()->getComment( 'rc_comment', $row )->text, $actiontext ); } @@ -173,7 +173,7 @@ class FeedUtils { if ( $newContent instanceof TextContent ) { // only textual content has a "source view". - $text = $newContent->getNativeData(); + $text = $newContent->getText(); if ( $wgFeedDiffCutoff <= 0 || strlen( $text ) > $wgFeedDiffCutoff ) { $html = null;