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 "Make pre-commit DB callbacks more atomic with multi-DB updates"
[lhc/web/wiklou.git]
/
includes
/
changetags
/
ChangeTags.php
diff --git
a/includes/changetags/ChangeTags.php
b/includes/changetags/ChangeTags.php
index
2d4d20f
..
a2945af
100644
(file)
--- a/
includes/changetags/ChangeTags.php
+++ b/
includes/changetags/ChangeTags.php
@@
-1055,8
+1055,8
@@
class ChangeTags {
$tagUsage = self::tagUsageStatistics();
if ( !is_null( $user ) ) {
$tagUsage = self::tagUsageStatistics();
if ( !is_null( $user ) ) {
- if ( !$user->isAllowed( '
manag
echangetags' ) ) {
- return Status::newFatal( 'tags-
manag
e-no-permission' );
+ if ( !$user->isAllowed( '
delet
echangetags' ) ) {
+ return Status::newFatal( 'tags-
delet
e-no-permission' );
} elseif ( $user->isBlocked() ) {
return Status::newFatal( 'tags-manage-blocked' );
}
} elseif ( $user->isBlocked() ) {
return Status::newFatal( 'tags-manage-blocked' );
}