]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix "PHP Warning: Call-time pass-by-reference has been deprecated"
authorCraig Andrews <candrews@integralblue.com>
Thu, 25 Feb 2010 03:35:22 +0000 (22:35 -0500)
committerCraig Andrews <candrews@integralblue.com>
Thu, 25 Feb 2010 03:35:22 +0000 (22:35 -0500)
lib/authorizationplugin.php

index 733b0c065652a608c0670f38c84a20f54ee82b7d..07da9b2d12c785d57cf3a903bf7aa766341f1b37 100644 (file)
@@ -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) {