summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-23 10:14:09 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-23 10:14:09 +0200
commit6ffb139a4683f3cbdb263ebd3c65d3d201ef35aa (patch)
treeab6e05e05907f5e499cb8a143bb30b3a6a4378cc
parent9c9644e646b9cff8a6ff8040e571932206e5c916 (diff)
parent4b2888cd9aa6d9199aac9468f6f7e94e95153945 (diff)
downloadnextcloud-server-6ffb139a4683f3cbdb263ebd3c65d3d201ef35aa.tar.gz
nextcloud-server-6ffb139a4683f3cbdb263ebd3c65d3d201ef35aa.zip
Merge pull request #8658 from realriot/master
Changed access mode for Dropbox to 'auto'
-rwxr-xr-xapps/files_external/lib/dropbox.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/dropbox.php b/apps/files_external/lib/dropbox.php
index 0b624b27176..9f297d22dcb 100755
--- a/apps/files_external/lib/dropbox.php
+++ b/apps/files_external/lib/dropbox.php
@@ -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');
}