Skip to content
Snippets Groups Projects
Commit 6ffb139a authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #8658 from realriot/master

Changed access mode for Dropbox to 'auto'
parents 9c9644e6 4b2888cd
Branches
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class Dropbox extends \OC\Files\Storage\Common {
$this->id = 'dropbox::'.$params['app_key'] . $params['token']. '/' . $this->root;
$oauth = new \Dropbox_OAuth_Curl($params['app_key'], $params['app_secret']);
$oauth->setToken($params['token'], $params['token_secret']);
$this->dropbox = new \Dropbox_API($oauth, 'dropbox');
$this->dropbox = new \Dropbox_API($oauth, 'auto');
} else {
throw new \Exception('Creating \OC\Files\Storage\Dropbox storage failed');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment