diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-26 09:19:53 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-26 09:19:53 -0400 |
commit | cf35ebdc18c50df3930e25cd8f5cb07740078aea (patch) | |
tree | a350fdc5d892f98e4f678a550b807fdfd6594f76 /actions | |
parent | 92af6565b684731ecbb8d85f8c79060b3645461c (diff) |
fix typo in xrds
I'd spelled "ENDPOINT" as "ENDPONT" in the code. whoops!
darcs-hash:20080526131953-84dde-95770739bc0c5ea45efbc8b831c11448ea5d4b32.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/xrds.php | 12 |
1 files changed, 6 insertions, 6 deletions
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'); |