]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
added commit from php-openid fork for better PHP 5.3 support: https://github.com...
authorCash Costello <cash.costello@gmail.com>
Sun, 11 Dec 2011 18:47:35 +0000 (13:47 -0500)
committerCash Costello <cash.costello@gmail.com>
Sun, 11 Dec 2011 18:47:35 +0000 (13:47 -0500)
vendors/php-openid/Auth/OpenID/Consumer.php
vendors/php-openid/Auth/OpenID/Server.php
vendors/php-openid/Auth/OpenID/TrustRoot.php
vendors/php-openid/Auth/Yadis/Manager.php
vendors/php-openid/Auth/Yadis/XRDS.php
vendors/php-openid/Auth/Yadis/Yadis.php

index bffed4d62e8694b0fc40234af6ba0d94997c7c51..e480b86f211ef18f3f4293686785732b12045513 100644 (file)
@@ -666,7 +666,7 @@ class Auth_OpenID_GenericConsumer {
                                         '_completeInvalid');
 
         return call_user_func_array(array($this, $method),
-                                    array($message, &$endpoint, $return_to));
+                                    array($message, $endpoint, $return_to));
     }
 
     /**
@@ -1185,7 +1185,7 @@ class Auth_OpenID_GenericConsumer {
         // oidutil.log('Performing discovery on %s' % (claimed_id,))
         list($unused, $services) = call_user_func($this->discoverMethod,
                                                   $claimed_id,
-                                                  &$this->fetcher);
+                                                  $this->fetcher);
 
         if (!$services) {
             return new Auth_OpenID_FailureResponse(null,
index fb7cc39d291fa6d903a8b609228ffe68ef3f2112..312a92866abaf490fe689d52f9ab939ba731c3b3 100644 (file)
@@ -1704,7 +1704,7 @@ class Auth_OpenID_Server {
     {
         if (method_exists($this, "openid_" . $request->mode)) {
             $handler = array($this, "openid_" . $request->mode);
-            return call_user_func($handler, &$request);
+            return call_user_func($handler, $request);
         }
         return null;
     }
index 000440b5888649b75f7b3d81f8b29eb283b06450..0f53958ed60ba408368358822cb21712cf763cd8 100644 (file)
@@ -413,7 +413,7 @@ function Auth_OpenID_getAllowedReturnURLs($relying_party_url, $fetcher,
     }
 
     call_user_func_array($discover_function,
-                         array($relying_party_url, &$fetcher));
+                         array($relying_party_url, $fetcher));
 
     $return_to_urls = array();
     $matching_endpoints = Auth_OpenID_extractReturnURL($endpoints);
index ee6f68bcb69fb7aa46a37b4e25bab27cd5d0b1e8..5829de6ca2740c4b99cc79c014377db0e0f2752b 100644 (file)
@@ -413,7 +413,7 @@ class Auth_Yadis_Discovery {
 
             list($yadis_url, $services) = call_user_func($discover_cb,
                                                          $this->url,
-                                                         &$fetcher);
+                                                         $fetcher);
 
             $manager = $this->createManager($services, $yadis_url);
         }
index 1f5af96fb21a69c0dcc0641fde44567eb72e9a24..044d1e761cb0776c7b1e75c8c24ce2f11ab9aeee 100644 (file)
@@ -429,7 +429,7 @@ class Auth_Yadis_XRDS {
 
                 foreach ($filters as $filter) {
 
-                    if (call_user_func_array($filter, array(&$service))) {
+                    if (call_user_func_array($filter, array($service))) {
                         $matches++;
 
                         if ($filter_mode == SERVICES_YADIS_MATCH_ANY) {
index 9ea2db7f91f5c9aa626912235d6d239a0afa4577..f8853671e207b1ca292a3ee04ad441a03e59651b 100644 (file)
@@ -141,7 +141,7 @@ function Auth_Yadis_getServiceEndpoints($input_url, $xrds_parse_func,
     }
 
     $yadis_result = call_user_func_array($discover_func,
-                                         array($input_url, &$fetcher));
+                                         array($input_url, $fetcher));
 
     if ($yadis_result === null) {
         return array($input_url, array());