summaryrefslogtreecommitdiffstats
path: root/nextcloud-9.1.0-amazon-autoloader.patch
diff options
context:
space:
mode:
authorJames Hogarth <james.hogarth@gmail.com>2017-02-21 14:30:00 +0000
committerJames Hogarth <james.hogarth@gmail.com>2017-02-21 14:30:00 +0000
commit260614d225ad68cf4bb1bc31c2480b2ccd169d56 (patch)
tree50e35459d24d7c7972e5491dd03a19bd3197ce21 /nextcloud-9.1.0-amazon-autoloader.patch
parent3545d203eaf0f4c0bff942e50004f8785f1cd7b3 (diff)
import of srpm from review
Diffstat (limited to 'nextcloud-9.1.0-amazon-autoloader.patch')
-rw-r--r--nextcloud-9.1.0-amazon-autoloader.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/nextcloud-9.1.0-amazon-autoloader.patch b/nextcloud-9.1.0-amazon-autoloader.patch
new file mode 100644
index 0000000..d30bf1b
--- /dev/null
+++ b/nextcloud-9.1.0-amazon-autoloader.patch
@@ -0,0 +1,15 @@
+diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php
+index 4bb4312..85e04a3 100644
+--- a/apps/files_external/lib/Lib/Storage/AmazonS3.php
++++ b/apps/files_external/lib/Lib/Storage/AmazonS3.php
+@@ -35,10 +35,6 @@
+
+ namespace OCA\Files_External\Lib\Storage;
+
+-set_include_path(get_include_path() . PATH_SEPARATOR .
+- \OC_App::getAppPath('files_external') . '/3rdparty/aws-sdk-php');
+-require 'aws-autoloader.php';
+-
+ use Aws\S3\S3Client;
+ use Aws\S3\Exception\S3Exception;
+ use Icewind\Streams\IteratorDirectory;