Remove deprecated call-time pass-by-reference

This commit is contained in:
Craig Andrews 2010-03-20 12:02:00 -04:00
parent a02e5b302b
commit aa6e198c12

View File

@ -67,7 +67,7 @@ abstract class AuthorizationPlugin extends Plugin
//------------Below are the methods that connect StatusNet to the implementing Auth plugin------------\\
function onStartSetUser(&$user) {
function onStartSetUser($user) {
$loginAllowed = $this->loginAllowed($user);
if($loginAllowed === true){
return;
@ -84,7 +84,7 @@ abstract class AuthorizationPlugin extends Plugin
}
}
function onStartSetApiUser(&$user) {
function onStartSetApiUser($user) {
return $this->onStartSetUser($user);
}