diff options
author | Evan Prodromou <git@evanprodromou.name> | 2009-01-06 22:43:43 -0500 |
---|---|---|
committer | Evan Prodromou <git@evanprodromou.name> | 2009-01-06 22:43:43 -0500 |
commit | b1142ed3ab1797e449d262e115d78cbb75deaa22 (patch) | |
tree | c4dae3c96fa87f7986ed36f02d0528ede8298adc /actions/xrds.php | |
parent | 6d1d59a36bfa3659545027c7daf8b4abd0ac53a2 (diff) |
Revert "XRDS namespace fix"
This reverts commit 6d1d59a36bfa3659545027c7daf8b4abd0ac53a2.
It seems to interfere with the Yadis discovery.
Diffstat (limited to 'actions/xrds.php')
-rw-r--r-- | actions/xrds.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/xrds.php b/actions/xrds.php index e82685a78..1d516aab7 100644 --- a/actions/xrds.php +++ b/actions/xrds.php @@ -23,7 +23,7 @@ require_once(INSTALLDIR.'/lib/omb.php'); class XrdsAction extends Action { - function is_readonly() { + function is_readonly() { return true; } @@ -45,7 +45,7 @@ class XrdsAction extends Action { common_start_xml(); common_element_start('XRDS', array('xmlns' => 'xri://$xrds')); - common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)', + common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)', 'xml:id' => 'oauth', 'xmlns:simple' => 'http://xrds-simple.net/core/1.0', 'version' => '2.0')); @@ -77,7 +77,7 @@ class XrdsAction extends Action { # XXX: decide whether to include user's ID/nickname in postNotice URL - common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)', + common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)', 'xml:id' => 'omb', 'xmlns:simple' => 'http://xrds-simple.net/core/1.0', 'version' => '2.0')); @@ -92,7 +92,7 @@ class XrdsAction extends Action { common_element_end('XRD'); - common_element_start('XRD', array('xmlns' => 'xri://$XRD*($v*2.0)', + common_element_start('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)', 'version' => '2.0')); common_element('Type', NULL, 'xri://$xrds*simple'); |