From 384adf8bcce6df2ea7fadff3fa93802d8affe416 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 29 Oct 2008 21:26:27 +0100 Subject: [PATCH] ID provider XRDS was not used in our context --- modules/openid.php | 16 ---------------- templates/openid/idp_xrds.tpl | 11 ----------- 2 files changed, 27 deletions(-) delete mode 100644 templates/openid/idp_xrds.tpl 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 -- 2.1.4