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 "selenium: Only load 'sauce' service when needed"
[lhc/web/wiklou.git]
/
includes
/
MWNamespace.php
diff --git
a/includes/MWNamespace.php
b/includes/MWNamespace.php
index
0121bd5
..
4a911b0
100644
(file)
--- a/
includes/MWNamespace.php
+++ b/
includes/MWNamespace.php
@@
-318,8
+318,9
@@
class MWNamespace {
* @return array
*/
public static function getRestrictionLevels( $index, User $user = null ) {
* @return array
*/
public static function getRestrictionLevels( $index, User $user = null ) {
- return MediaWikiServices::getInstance()->getNamespaceInfo()->
- getRestrictionLevels( $index, $user );
+ return MediaWikiServices::getInstance()
+ ->getPermissionManager()
+ ->getNamespaceRestrictionLevels( $index, $user );
}
/**
}
/**