Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed addSource call parameters

  • Loading branch information...
commit 63590c8ad3030e0dffc729f2bd4cdccbf89e82d3 1 parent 9a5a2c3
@dominikgehl dominikgehl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  class.contextio.php
View
2  class.contextio.php
@@ -854,7 +854,7 @@ public function addSource($account, $params) {
if (is_null($account) || ! is_string($account) || (! strpos($account, '@') === false)) {
throw new InvalidArgumentException('account must be string representing accountId');
}
- $params = $this->_filterParams($params, array('type','email','server','username','oauth_consumer_key','oauth_token','oauth_token_secret','service_level','password','use_ssl','port'), array('server','username'));
+ $params = $this->_filterParams($params, array('type','email','server','username','provider_consumer_key','provider_token','provider_token_secret','service_level','password','use_ssl','port'), array('server','username'));
if ($params === false) {
throw new InvalidArgumentException("params array contains invalid parameters or misses required parameters");
}
Please sign in to comment.
Something went wrong with that request. Please try again.