From: Brion Vibber Date: Tue, 29 Jun 2010 18:44:21 +0000 (-0400) Subject: Updated OMB_Yadis_XRDS for compatibility with php-openid 2.2.2: Auth_Yadis_XRDS:... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5e89527d9636275d58ef438c5e12a5aad283115;p=quix0rs-gnu-social.git 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 --- 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;