fix "PHP Warning: Call-time pass-by-reference has been deprecated"
This commit is contained in:
parent
bdf0dfc30d
commit
beb776cfd6
|
@ -85,7 +85,7 @@ abstract class AuthorizationPlugin extends Plugin
|
||||||
}
|
}
|
||||||
|
|
||||||
function onStartSetApiUser(&$user) {
|
function onStartSetApiUser(&$user) {
|
||||||
return $this->onStartSetUser(&$user);
|
return $this->onStartSetUser($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onStartHasRole($profile, $name, &$has_role) {
|
function onStartHasRole($profile, $name, &$has_role) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user