oauth_version parameter should be optional

This commit is contained in:
Alexandru G 2014-02-17 15:43:13 +02:00
parent 5616fa0756
commit cc7992f2d1

View File

@ -157,7 +157,6 @@ class Request implements RequestInterface
) { ) {
$parameters = ($parameters) ? $parameters : array(); $parameters = ($parameters) ? $parameters : array();
$defaults = array( $defaults = array(
'oauth_version' => Request::$version,
'oauth_nonce' => Request::generateNonce(), 'oauth_nonce' => Request::generateNonce(),
'oauth_timestamp' => Request::generateTimestamp(), 'oauth_timestamp' => Request::generateTimestamp(),
'oauth_consumer_key' => $consumer->getKey()); 'oauth_consumer_key' => $consumer->getKey());