]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Re-camelcase ApiOauthAuthorizeAction so it will be accessible when
authorZach Copley <zach@status.net>
Fri, 22 Oct 2010 01:15:11 +0000 (18:15 -0700)
committerZach Copley <zach@status.net>
Fri, 22 Oct 2010 01:15:11 +0000 (18:15 -0700)
a site is in pivate mode

actions/showapplication.php
lib/router.php
plugins/OpenID/OpenIDPlugin.php

index 3872730064f29ed7381ba4a358b34db989f65676..10aaff538f3451e93d04600ef631ff911d6fd6cf 100644 (file)
@@ -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',
index ff1b27925512e339868a8f08a02847323e91b5a4..417206e6bffb291921a1201fe063316af2638a3e 100644 (file)
@@ -676,7 +676,7 @@ class Router
                         array('action' => 'ApiOauthAccessToken'));
 
             $m->connect('api/oauth/authorize',
-                        array('action' => 'apioauthauthorize'));
+                        array('action' => 'ApiOauthAuthorize'));
 
             // Admin
 
index 87eab94a20a1463ceed5331aa6df6048d2578c69..d8127aa68bea2ea1d7dc31eda257b7a1ba8f7868 100644 (file)
@@ -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);