From 78bd1f6fd020c35b10e29965ca3124a92cefa5bc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Jun 2016 14:59:24 +0200 Subject: owncloud: 9.0.3 --- owncloud-9.0.3-dropbox-autoloader.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 owncloud-9.0.3-dropbox-autoloader.patch (limited to 'owncloud-9.0.3-dropbox-autoloader.patch') 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 + * + */ +-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; -- cgit