summaryrefslogtreecommitdiffstats
path: root/Auth/Yadis/Manager.php
diff options
context:
space:
mode:
authorLilli <lilli@janrain.com>2010-02-16 12:17:30 -0800
committerLilli <lilli@janrain.com>2010-02-16 12:17:30 -0800
commit3edee3a03ec4b187fb44f8af7daa128ed6b8fc5e (patch)
tree5e564cecaf85388dca8faf630485540f2955ce5c /Auth/Yadis/Manager.php
parent634d7b470e82e34ca2730c168332232259cf17d1 (diff)
downloadphp-openid-3edee3a03ec4b187fb44f8af7daa128ed6b8fc5e.zip
php-openid-3edee3a03ec4b187fb44f8af7daa128ed6b8fc5e.tar.gz
php-openid-3edee3a03ec4b187fb44f8af7daa128ed6b8fc5e.tar.bz2
Added the following patch from the trac.openidenabled.com bug tracker:
http://trac.openidenabled.com/trac/ticket/338 (http://trac.openidenabled.com/trac/attachment/ticket/338/openid-php5.3.diff) Patch makes php-openid library compatible with PHP 5.3, and included changes to many files. Original Message: Reported by: http://paulisageek.com/ Opened 6 months ago Last modified 2 months ago php openid library doesn't seem to work with php 5.3 "I get many PHP warnings and then the error condition on the Consumer. Deprecated: Assigning the return value of new by reference is deprecated in *path*/Auth/OpenID/Consumer.php on line 271 Deprecated: Assigning the return value of new by reference is deprecated in *path*/Auth/OpenID/Consumer.php on line 273 Warning: Parameter 1 to filter_MatchesAnyOpenIDType() expected to be a reference, value given in *path*/Auth/Yadis/XRDS.php on line 431 Warning: Parameter 2 to Auth_OpenID_GenericConsumer::_completeInvalid() expected to be a reference, value given in *path*/Auth/OpenID/Consumer.php on line 669 " It should be noted that 3 hunks across 7 files failed, and I applied most of them manually. 7 files were patched.
Diffstat (limited to 'Auth/Yadis/Manager.php')
-rw-r--r--Auth/Yadis/Manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auth/Yadis/Manager.php b/Auth/Yadis/Manager.php
index 5829de6..ee6f68b 100644
--- a/Auth/Yadis/Manager.php
+++ b/Auth/Yadis/Manager.php
@@ -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);
}