oauth_version parameter should be optional #3

Merged
vimishor merged 1 commits from bug/version-optional into master 2014-02-21 17:41:04 +00:00
Showing only changes of commit cc7992f2d1 - Show all commits

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());