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
phan: Disable enable_class_alias_support
[lhc/web/wiklou.git]
/
includes
/
changetags
/
ChangeTagsLogItem.php
diff --git
a/includes/changetags/ChangeTagsLogItem.php
b/includes/changetags/ChangeTagsLogItem.php
index
75b713e
..
ce82b71
100644
(file)
--- a/
includes/changetags/ChangeTagsLogItem.php
+++ b/
includes/changetags/ChangeTagsLogItem.php
@@
-20,6
+20,7
@@
*/
use MediaWiki\MediaWikiServices;
*/
use MediaWiki\MediaWikiServices;
+use MediaWiki\Revision\RevisionRecord;
/**
* Item class for a logging table row with its associated change tags.
/**
* Item class for a logging table row with its associated change tags.
@@
-49,7
+50,9
@@
class ChangeTagsLogItem extends RevisionItemBase {
}
public function canView() {
}
public function canView() {
- return LogEventsList::userCan( $this->row, Revision::DELETED_RESTRICTED, $this->list->getUser() );
+ return LogEventsList::userCan(
+ $this->row, RevisionRecord::SUPPRESSED_ALL, $this->list->getUser()
+ );
}
public function canViewContent() {
}
public function canViewContent() {