From: Aymeric Augustin Date: Wed, 29 Oct 2008 20:26:27 +0000 (+0100) Subject: ID provider XRDS was not used in our context X-Git-Tag: xorg/0.10.0~59 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=384adf8bcce6df2ea7fadff3fa93802d8affe416;p=platal.git ID provider XRDS was not used in our context --- diff --git a/modules/openid.php b/modules/openid.php index 295dabe..bd74eee 100644 --- a/modules/openid.php +++ b/modules/openid.php @@ -49,7 +49,6 @@ class OpenidModule extends PLModule return array( 'openid' => $this->make_hook('openid', AUTH_PUBLIC), 'openid/trust' => $this->make_hook('trust', AUTH_COOKIE), - 'openid/idp_xrds' => $this->make_hook('idp_xrds', AUTH_PUBLIC), 'openid/user_xrds' => $this->make_hook('user_xrds', AUTH_PUBLIC), 'openid/melix' => $this->make_hook('melix', AUTH_PUBLIC), ); @@ -169,21 +168,6 @@ class OpenidModule extends PLModule $this->render_openid_response($webresponse); } - function handler_idp_xrds(&$page) - { - // Load constants - $this->load('openid.inc.php'); - - // Set XRDS content-type and template - header('Content-type: application/xrds+xml'); - $page->changeTpl('openid/idp_xrds.tpl', NO_SKIN); - - // Set variables - $page->changeTpl('openid/idp_xrds.tpl', NO_SKIN); - $page->assign('type', Auth_OpenID_TYPE_2_0_IDP); - $page->assign('uri', get_openid_url()); - } - function handler_user_xrds(&$page, $x = null) { // Load constants diff --git a/templates/openid/idp_xrds.tpl b/templates/openid/idp_xrds.tpl deleted file mode 100644 index ae6c214..0000000 --- a/templates/openid/idp_xrds.tpl +++ /dev/null @@ -1,11 +0,0 @@ - - - - - {$type} - {$uri} - - - \ No newline at end of file