From aa6e198c12632c31dced92015f128a29f5929b98 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Sat, 20 Mar 2010 12:02:00 -0400 Subject: [PATCH] Remove deprecated call-time pass-by-reference --- lib/authorizationplugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }