]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
A further change to the XRDS is required if 0.9.x is to be able to remote sub to...
authorCiaran Gultnieks <ciaran@ciarang.com>
Thu, 12 Nov 2009 20:57:09 +0000 (20:57 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Thu, 12 Nov 2009 20:57:09 +0000 (20:57 +0000)
actions/xrds.php

index 76ccc9c6ec8bd0b26f735e4c8c69556dc295f2fe..534182e3edf065f0223e8412df1a6f3b13bf7007 100644 (file)
@@ -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();
         
     }