X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fxrds.php;h=0758318037af2f26df170cf07bf96d9034594f70;hb=c6cd87c106b763ed5610dae64e5a02ba86609ece;hp=629de3a863547aa3caaa760e7b60838fc1cc17d8;hpb=318b81c02787cec872c6576f0fcca0fc9ea63322;p=quix0rs-gnu-social.git diff --git a/actions/xrds.php b/actions/xrds.php index 629de3a863..0758318037 100644 --- a/actions/xrds.php +++ b/actions/xrds.php @@ -49,17 +49,17 @@ class XrdsAction extends Action { /** * Is read only? - * + * * @return boolean true */ function isReadOnly() - { + { return true; } /** * Class handler. - * + * * @param array $args query arguments * * @return void @@ -78,7 +78,7 @@ class XrdsAction extends Action /** * Show XRDS for a user. - * + * * @param class $user XRDS for this user. * * @return void @@ -86,7 +86,7 @@ class XrdsAction extends Action function showXrds($user) { header('Content-Type: application/xrds+xml'); - common_start_xml(); + $this->startXML(); $this->elementStart('XRDS', array('xmlns' => 'xri://$xrds')); $this->elementStart('XRD', array('xmlns' => 'xri://$xrd*($v*2.0)', @@ -133,12 +133,12 @@ class XrdsAction extends Action '#omb'); $this->elementEnd('XRD'); $this->elementEnd('XRDS'); - common_end_xml(); + $this->endXML(); } /** * Show service. - * + * * @param string $type XRDS type * @param string $uri URI * @param array $params type parameters, null by default