summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSascha Schmidt <realriot@realriot.de>2014-05-21 09:40:03 +0200
committerSascha Schmidt <realriot@realriot.de>2014-05-21 09:40:03 +0200
commit4b2888cd9aa6d9199aac9468f6f7e94e95153945 (patch)
tree6a0c3989c46c5a7406728059d42ce1aa8a4e3ee7 /apps
parent40fc1d5b4b3b05b9d2e036f3d853668a38b0e0c2 (diff)
downloadnextcloud-server-4b2888cd9aa6d9199aac9468f6f7e94e95153945.tar.gz
nextcloud-server-4b2888cd9aa6d9199aac9468f6f7e94e95153945.zip
Changed access mode for Dropbox to 'auto'
Diffstat (limited to 'apps')
-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');
}