summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-03-20 12:02:00 -0400
committerCraig Andrews <candrews@integralblue.com>2010-03-20 12:04:46 -0400
commitaa6e198c12632c31dced92015f128a29f5929b98 (patch)
treeef795b87be6459630da77d61aad8668147e7af46
parenta02e5b302b47cf7a28c2322700a8ec72d31ab22c (diff)
Remove deprecated call-time pass-by-reference
-rw-r--r--lib/authorizationplugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/authorizationplugin.php b/lib/authorizationplugin.php
index 07da9b2d1..3790bccf4 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);
}