]> source.dussan.org Git - nextcloud-server.git/commitdiff
Changed access mode for Dropbox to 'auto'
authorSascha Schmidt <realriot@realriot.de>
Wed, 21 May 2014 07:40:03 +0000 (09:40 +0200)
committerSascha Schmidt <realriot@realriot.de>
Wed, 21 May 2014 07:40:03 +0000 (09:40 +0200)
apps/files_external/lib/dropbox.php

index 0b624b27176959937d5b6023ca453ecdc71118fe..9f297d22dcb83bfd8a48512562f2c82f271f67ad 100755 (executable)
@@ -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');
                }