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 "Fix sessionfailure i18n message during authentication"
[lhc/web/wiklou.git]
/
includes
/
revisiondelete
/
RevDelLogItem.php
diff --git
a/includes/revisiondelete/RevDelLogItem.php
b/includes/revisiondelete/RevDelLogItem.php
index
998c695
..
b8b0c5c
100644
(file)
--- a/
includes/revisiondelete/RevDelLogItem.php
+++ b/
includes/revisiondelete/RevDelLogItem.php
@@
-102,7
+102,7
@@
class RevDelLogItem extends RevDelItem {
// User links and action text
$action = $formatter->getActionText();
// Comment
// User links and action text
$action = $formatter->getActionText();
// Comment
- $comment = CommentStore::
newKey( 'log_comment' )->getComment(
$this->row )->text;
+ $comment = CommentStore::
getStore()->getComment( 'log_comment',
$this->row )->text;
$comment = $this->list->getLanguage()->getDirMark()
. Linker::commentBlock( $comment );
$comment = $this->list->getLanguage()->getDirMark()
. Linker::commentBlock( $comment );
@@
-136,7
+136,8
@@
class RevDelLogItem extends RevDelItem {
}
if ( LogEventsList::userCan( $this->row, LogPage::DELETED_COMMENT, $user ) ) {
$ret += [
}
if ( LogEventsList::userCan( $this->row, LogPage::DELETED_COMMENT, $user ) ) {
$ret += [
- 'comment' => CommentStore::newKey( 'log_comment' )->getComment( $this->row )->text,
+ 'comment' => CommentStore::getStore()->getComment( 'log_comment', $this->row )
+ ->text,
];
}
];
}