diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-06-29 14:59:24 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-06-29 14:59:24 +0200 |
commit | 78bd1f6fd020c35b10e29965ca3124a92cefa5bc (patch) | |
tree | e95205ba2a4aad07e18327b73e9f92ba51cbc2c3 /owncloud-9.0.3-dropbox-autoloader.patch | |
parent | 080867c4c5625b6eced80d1ba298846f6430cd89 (diff) |
owncloud: 9.0.3
Diffstat (limited to 'owncloud-9.0.3-dropbox-autoloader.patch')
-rw-r--r-- | owncloud-9.0.3-dropbox-autoloader.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/owncloud-9.0.3-dropbox-autoloader.patch b/owncloud-9.0.3-dropbox-autoloader.patch new file mode 100644 index 0000000..5789db2 --- /dev/null +++ b/owncloud-9.0.3-dropbox-autoloader.patch @@ -0,0 +1,25 @@ +diff --git a/apps/files_external/ajax/oauth1.php b/apps/files_external/ajax/oauth1.php +index ea7db25..4279cec 100644 +--- a/apps/files_external/ajax/oauth1.php ++++ b/apps/files_external/ajax/oauth1.php +@@ -23,7 +23,6 @@ + * along with this program. If not, see <http://www.gnu.org/licenses/> + * + */ +-require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php'; + + OCP\JSON::checkAppEnabled('files_external'); + OCP\JSON::checkLoggedIn(); +diff --git a/apps/files_external/lib/dropbox.php b/apps/files_external/lib/dropbox.php +index 8381ccb..174baec 100644 +--- a/apps/files_external/lib/dropbox.php ++++ b/apps/files_external/lib/dropbox.php +@@ -34,8 +34,6 @@ use Icewind\Streams\IteratorDirectory; + use Icewind\Streams\RetryWrapper; + use OCP\Files\StorageNotAvailableException; + +-require_once __DIR__ . '/../3rdparty/Dropbox/autoload.php'; +- + class Dropbox extends \OC\Files\Storage\Common { + + private $dropbox; |