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
JsonContent: Call member functions with '$this->', not 'self::'
[lhc/web/wiklou.git]
/
includes
/
AuthPlugin.php
diff --git
a/includes/AuthPlugin.php
b/includes/AuthPlugin.php
index
badf47c
..
6449d37
100644
(file)
--- a/
includes/AuthPlugin.php
+++ b/
includes/AuthPlugin.php
@@
-157,11
+157,11
@@
class AuthPlugin {
* @return bool
*/
public function allowPropChange( $prop = '' ) {
* @return bool
*/
public function allowPropChange( $prop = '' ) {
- if ( $prop == 'realname' && is_callable(
array( $this, 'allowRealNameChange' )
) ) {
+ if ( $prop == 'realname' && is_callable(
[ $this, 'allowRealNameChange' ]
) ) {
return $this->allowRealNameChange();
return $this->allowRealNameChange();
- } elseif ( $prop == 'emailaddress' && is_callable(
array( $this, 'allowEmailChange' )
) ) {
+ } elseif ( $prop == 'emailaddress' && is_callable(
[ $this, 'allowEmailChange' ]
) ) {
return $this->allowEmailChange();
return $this->allowEmailChange();
- } elseif ( $prop == 'nickname' && is_callable(
array( $this, 'allowNickChange' )
) ) {
+ } elseif ( $prop == 'nickname' && is_callable(
[ $this, 'allowNickChange' ]
) ) {
return $this->allowNickChange();
} else {
return true;
return $this->allowNickChange();
} else {
return true;
@@
-224,7
+224,7
@@
class AuthPlugin {
* @param array $delgroups Groups to remove.
* @return bool
*/
* @param array $delgroups Groups to remove.
* @return bool
*/
- public function updateExternalDBGroups( $user, $addgroups, $delgroups =
array()
) {
+ public function updateExternalDBGroups( $user, $addgroups, $delgroups =
[]
) {
return true;
}
return true;
}
@@
-318,7
+318,7
@@
class AuthPlugin {
* @return array
*/
public function domainList() {
* @return array
*/
public function domainList() {
- return
array()
;
+ return
[]
;
}
}
}
}