forked from GNUsocial/gnu-social
Fix syntax errors
This commit is contained in:
parent
ce0d81c190
commit
aa6ec40c51
@ -560,7 +560,7 @@ class ApiOauthAuthorizeAction extends Action
|
|||||||
// TRANS: User notification after revoking OAuth access to an application.
|
// TRANS: User notification after revoking OAuth access to an application.
|
||||||
// TRANS: %s is an OAuth token.
|
// TRANS: %s is an OAuth token.
|
||||||
_('The request token %s has been revoked.'),
|
_('The request token %s has been revoked.'),
|
||||||
$this->oauthTokenParm
|
$this->oauthTokenParam
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -618,7 +618,7 @@ class ApiOauthAuthorizeAction extends Action
|
|||||||
$callback = null;
|
$callback = null;
|
||||||
|
|
||||||
// Return the verified callback if we have one
|
// Return the verified callback if we have one
|
||||||
if ($this->app->type == 2) {
|
if ($this->reqToken->verified_callback != 'oob') {
|
||||||
|
|
||||||
$callback = $this->reqToken->verified_callback;
|
$callback = $this->reqToken->verified_callback;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user