X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Foauthclient.php;h=0233a4b2be9468737783019f4919380bc21bfa1f;hb=543d968b81b97c9ebd46de063d8d70621c12015b;hp=e14f6733927ad547a85104df02455cab5072b3bb;hpb=f79aec36feaa4760201a7e88d5b31513a3c458ba;p=quix0rs-gnu-social.git diff --git a/lib/oauthclient.php b/lib/oauthclient.php index e14f673392..0233a4b2be 100644 --- a/lib/oauthclient.php +++ b/lib/oauthclient.php @@ -118,18 +118,17 @@ class OAuthClient if (isset($confirm)) { if ($confirm == 'true') { - common_debug('Twitter bridge - callback confirmed.'); return $token; } else { throw new OAuthClientException( - 'Callback was not confirmed by Twitter.' + 'Callback was not confirmed by remote OAuth side.' ); } } return $token; } else { throw new OAuthClientException( - 'Could not get a request token from Twitter.' + 'Could not get a request token from remote OAuth side.' ); } } @@ -181,7 +180,7 @@ class OAuthClient return $token; } else { throw new OAuthClientException( - 'Could not get a access token from Twitter.' + 'Could not get a access token from remote OAuth side.' ); } }