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
API: Ignore expired blocks in ApiQueryBase::showHiddenUsersAddBlockInfo()
[lhc/web/wiklou.git]
/
includes
/
MWNamespace.php
diff --git
a/includes/MWNamespace.php
b/includes/MWNamespace.php
index
1df5d51
..
e03a29b
100644
(file)
--- a/
includes/MWNamespace.php
+++ b/
includes/MWNamespace.php
@@
-477,7
+477,7
@@
class MWNamespace {
*
* @since 1.23
* @param int $index Index to check
- * @param User $user User to check
+ * @param User
|null
$user User to check
* @return array
*/
public static function getRestrictionLevels( $index, User $user = null ) {