dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Legacy: remove unused style rules for floatleft/right"
[lhc/web/wiklou.git]
/
includes
/
FeedUtils.php
diff --git
a/includes/FeedUtils.php
b/includes/FeedUtils.php
index
b1c3ce6
..
4dde52d
100644
(file)
--- 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()
$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
);
}
$actiontext
);
}
@@
-99,7
+97,7
@@
class FeedUtils {
/**
* Really format a diff for the newsfeed
*
/**
* 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
* @param int $oldid Old revision's id
* @param int $newid New revision's id
* @param int $timestamp New revision's timestamp