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 the JobRunner flushReplicaSnapshots() call cover the first job"
[lhc/web/wiklou.git]
/
includes
/
logging
/
LogEventsList.php
diff --git
a/includes/logging/LogEventsList.php
b/includes/logging/LogEventsList.php
index
e66bd69
..
66be436
100644
(file)
--- a/
includes/logging/LogEventsList.php
+++ b/
includes/logging/LogEventsList.php
@@
-565,7
+565,9
@@
class LogEventsList extends ContextSource {
}
$permissionlist = implode( ', ', $permissions );
wfDebug( "Checking for $permissionlist due to $field match on $bitfield\n" );
}
$permissionlist = implode( ', ', $permissions );
wfDebug( "Checking for $permissionlist due to $field match on $bitfield\n" );
- return $user->isAllowedAny( ...$permissions );
+ return MediaWikiServices::getInstance()
+ ->getPermissionManager()
+ ->userHasAnyRight( $user, ...$permissions );
}
return true;
}
}
return true;
}