From: Craig Andrews Date: Thu, 25 Feb 2010 03:35:22 +0000 (-0500) Subject: fix "PHP Warning: Call-time pass-by-reference has been deprecated" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=beb776cfd6b9b78d1f192d55e7e8bc311a0d00ea;p=quix0rs-gnu-social.git fix "PHP Warning: Call-time pass-by-reference has been deprecated" --- diff --git a/lib/authorizationplugin.php b/lib/authorizationplugin.php index 733b0c0656..07da9b2d12 100644 --- a/lib/authorizationplugin.php +++ b/lib/authorizationplugin.php @@ -85,7 +85,7 @@ abstract class AuthorizationPlugin extends Plugin } function onStartSetApiUser(&$user) { - return $this->onStartSetUser(&$user); + return $this->onStartSetUser($user); } function onStartHasRole($profile, $name, &$has_role) {