From cf35ebdc18c50df3930e25cd8f5cb07740078aea Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 26 May 2008 09:19:53 -0400 Subject: fix typo in xrds I'd spelled "ENDPOINT" as "ENDPONT" in the code. whoops! darcs-hash:20080526131953-84dde-95770739bc0c5ea45efbc8b831c11448ea5d4b32.gz --- actions/xrds.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'actions') diff --git a/actions/xrds.php b/actions/xrds.php index ad78e86b2..d5fef4e7a 100644 --- a/actions/xrds.php +++ b/actions/xrds.php @@ -59,24 +59,24 @@ class XrdsAction extends Action { common_element('Type', NULL, 'xri://$xrds*simple'); - $this->show_service(OAUTH_ENDPONT_REQUEST, + $this->show_service(OAUTH_ENDPOINT_REQUEST, common_local_url('requesttoken'), array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY), array(OAUTH_HMAC_SHA1), $user->uri); - $this->show_service(OAUTH_ENDPONT_AUTHORIZE, + $this->show_service(OAUTH_ENDPOINT_AUTHORIZE, common_local_url('userauthorization'), array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY), array(OAUTH_HMAC_SHA1), $user->uri); - $this->show_service(OAUTH_ENDPONT_ACCESS, + $this->show_service(OAUTH_ENDPOINT_ACCESS, common_local_url('accesstoken'), array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY), array(OAUTH_HMAC_SHA1)); - $this->show_service(OAUTH_ENDPONT_RESOURCE, + $this->show_service(OAUTH_ENDPOINT_RESOURCE, NULL, array(OAUTH_AUTH_HEADER, OAUTH_POST_BODY), array(OAUTH_HMAC_SHA1)); @@ -92,10 +92,10 @@ class XrdsAction extends Action { common_element('Type', NULL, 'xri://$xrds*simple'); - $this->show_service(OMB_ENDPONT_POSTNOTICE, + $this->show_service(OMB_ENDPOINT_POSTNOTICE, common_local_url('postnotice')); - $this->show_service(OMB_ENDPONT_UPDATEPROFILE, + $this->show_service(OMB_ENDPOINT_UPDATEPROFILE, common_local_url('updateprofile')); common_element_end('XRD'); -- cgit v1.2.3-54-g00ecf