]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove deprecated call-time pass-by-reference
authorCraig Andrews <candrews@integralblue.com>
Sat, 20 Mar 2010 16:02:00 +0000 (12:02 -0400)
committerCraig Andrews <candrews@integralblue.com>
Sat, 20 Mar 2010 16:04:46 +0000 (12:04 -0400)
lib/authorizationplugin.php

index 07da9b2d12c785d57cf3a903bf7aa766341f1b37..3790bccf4bbd93f2f225bfbb60881a4a415fcb3b 100644 (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);
     }