From: Craig Andrews Date: Sat, 20 Mar 2010 16:02:00 +0000 (-0400) Subject: Remove deprecated call-time pass-by-reference X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aa6e198c12632c31dced92015f128a29f5929b98;p=quix0rs-gnu-social.git Remove deprecated call-time pass-by-reference --- diff --git a/lib/authorizationplugin.php b/lib/authorizationplugin.php index 07da9b2d12..3790bccf4b 100644 --- a/lib/authorizationplugin.php +++ b/lib/authorizationplugin.php @@ -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); }