summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-10-21 18:15:11 -0700
committerZach Copley <zach@status.net>2010-10-21 18:15:11 -0700
commit0b134d3e6904b67b6e8e8d424a26e2a4f2f37dd6 (patch)
tree63c4c908553d0779c050922b19d0deedeec1f50d
parentce0d81c19010a7eb25a721ad8662d82327139561 (diff)
Re-camelcase ApiOauthAuthorizeAction so it will be accessible when
a site is in pivate mode
-rw-r--r--actions/showapplication.php2
-rw-r--r--lib/router.php2
-rw-r--r--plugins/OpenID/OpenIDPlugin.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/actions/showapplication.php b/actions/showapplication.php
index 387273006..10aaff538 100644
--- a/actions/showapplication.php
+++ b/actions/showapplication.php
@@ -281,7 +281,7 @@ class ShowApplicationAction extends OwnerDesignAction
$this->elementStart('dl', 'entity_authorize_url');
$this->element('dt', null, _('Authorize URL'));
- $this->element('dd', null, common_local_url('apioauthauthorize'));
+ $this->element('dd', null, common_local_url('ApiOauthAuthorize'));
$this->elementEnd('dl');
$this->element('p', 'note',
diff --git a/lib/router.php b/lib/router.php
index ff1b27925..417206e6b 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -676,7 +676,7 @@ class Router
array('action' => 'ApiOauthAccessToken'));
$m->connect('api/oauth/authorize',
- array('action' => 'apioauthauthorize'));
+ array('action' => 'ApiOauthAuthorize'));
// Admin
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php
index 87eab94a2..d8127aa68 100644
--- a/plugins/OpenID/OpenIDPlugin.php
+++ b/plugins/OpenID/OpenIDPlugin.php
@@ -713,7 +713,7 @@ class OpenIDPlugin extends Plugin
require_once dirname(__FILE__) . '/openid.php';
oid_assert_allowed($openid_url);
- $returnto = common_local_url('apioauthauthorize', array(),
+ $returnto = common_local_url('ApiOauthAuthorize', array(),
array('oauth_token' => $action->arg('oauth_token')));
common_set_returnto($returnto);