From: Evan Prodromou Date: Mon, 26 May 2008 13:19:53 +0000 (-0400) Subject: fix typo in xrds X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cf35ebdc18c50df3930e25cd8f5cb07740078aea;p=quix0rs-gnu-social.git fix typo in xrds I'd spelled "ENDPOINT" as "ENDPONT" in the code. whoops! darcs-hash:20080526131953-84dde-95770739bc0c5ea45efbc8b831c11448ea5d4b32.gz --- diff --git a/actions/xrds.php b/actions/xrds.php index ad78e86b2a..d5fef4e7a1 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');