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
Deprecate the UserIsHidden hook
[lhc/web/wiklou.git]
/
includes
/
user
/
User.php
diff --git
a/includes/user/User.php
b/includes/user/User.php
index
666f2b6
..
6893bf4
100644
(file)
--- a/
includes/user/User.php
+++ b/
includes/user/User.php
@@
-2169,7
+2169,7
@@
class User implements IDBAccessObject, UserIdentity {
if ( !$this->mHideName ) {
// Reset for hook
$this->mHideName = false;
- Hooks::run( 'UserIsHidden', [ $this, &$this->mHideName ] );
+ Hooks::run( 'UserIsHidden', [ $this, &$this->mHideName ]
, '1.34'
);
}
return (bool)$this->mHideName;
}