summaryrefslogtreecommitdiff
path: root/actions/xrds.php
diff options
context:
space:
mode:
authorCiaran Gultnieks <ciaran@ciarang.com>2009-11-12 20:57:09 +0000
committerCiaran Gultnieks <ciaran@ciarang.com>2009-11-12 20:57:09 +0000
commitd8296df5d73fc189d393cddd9e2277f7c8a4cbf6 (patch)
tree7add84a18b936bf4d38d061820be3fa54ea49933 /actions/xrds.php
parent81fa515881e42afe55379befa4e7d93313c90891 (diff)
A further change to the XRDS is required if 0.9.x is to be able to remote sub to a 0.8.x account, with the OpenID plugin enabled.
Diffstat (limited to 'actions/xrds.php')
-rw-r--r--actions/xrds.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/actions/xrds.php b/actions/xrds.php
index 76ccc9c6e..534182e3e 100644
--- a/actions/xrds.php
+++ b/actions/xrds.php
@@ -123,10 +123,10 @@ class XrdsAction extends Action
common_local_url('updateprofile'));
$xrdsOutputter->elementEnd('XRD');
+ Event::handle('EndUserXRDS', array($this,&$xrdsOutputter));
+
//misc
$xrdsOutputter->elementStart('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)',
- 'xml:id' => 'oauth',
- 'xmlns:simple' => 'http://xrds-simple.net/core/1.0',
'version' => '2.0'));
$xrdsOutputter->showXrdsService(OAUTH_DISCOVERY,
'#oauth');
@@ -134,8 +134,6 @@ class XrdsAction extends Action
'#omb');
$xrdsOutputter->elementEnd('XRD');
- Event::handle('EndUserXRDS', array($this,&$xrdsOutputter));
-
$xrdsOutputter->endXRDS();
}