1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 02:22:57 +01:00

Removing special check for 'oauth_token' now that the check against FALSE has been removed.

This commit is contained in:
Sebastian Siemssen 2013-04-12 16:15:48 +02:00
parent 76f16a1546
commit 13d7dc793d

View File

@ -170,14 +170,10 @@ class OauthPlugin implements EventSubscriberInterface
'oauth_nonce' => $nonce,
'oauth_signature_method' => $this->config['signature_method'],
'oauth_timestamp' => $timestamp,
'oauth_token' => $this->config['token'],
'oauth_version' => $this->config['version']
));
// Filter out oauth_token during temp token step, as in request_token.
if ($this->config['token']) {
$params->add('oauth_token', $this->config['token']);
}
// Add query string parameters
$params->merge($request->getQuery());