diff options
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; |