From c5e89527d9636275d58ef438c5e12a5aad283115 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 29 Jun 2010 14:44:21 -0400 Subject: [PATCH] Updated OMB_Yadis_XRDS for compatibility with php-openid 2.2.2: Auth_Yadis_XRDS::parseXRDS() is now declared static, and PHP 5.3 demands it say so on the subclass too. Compat fix branch for upstream: http://gitorious.org/libomb/libomb-statusnet/commit/6589dc073f93b65564931e1ab5865a34a0b228aa --- extlib/libomb/omb_yadis_xrds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/libomb/omb_yadis_xrds.php b/extlib/libomb/omb_yadis_xrds.php index b84752c4c5..a05477c103 100755 --- a/extlib/libomb/omb_yadis_xrds.php +++ b/extlib/libomb/omb_yadis_xrds.php @@ -155,7 +155,7 @@ class OMB_Yadis_XRDS extends Auth_Yadis_XRDS * @return mixed An instance of OMB_Yadis_XRDS or null, * depending on the validity of $xml_string */ - public function parseXRDS($xml_string, $extra_ns_map = null) + public static function parseXRDS($xml_string, $extra_ns_map = null) { $_null = null; -- 2.39.5