summaryrefslogtreecommitdiffstats
path: root/owncloud-8.2.2-google_autoload.patch
diff options
context:
space:
mode:
Diffstat (limited to 'owncloud-8.2.2-google_autoload.patch')
-rw-r--r--owncloud-8.2.2-google_autoload.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/owncloud-8.2.2-google_autoload.patch b/owncloud-8.2.2-google_autoload.patch
new file mode 100644
index 0000000..6b31a17
--- /dev/null
+++ b/owncloud-8.2.2-google_autoload.patch
@@ -0,0 +1,14 @@
+diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php
+index eba2ee7..93a2096 100644
+--- a/apps/files_external/lib/google.php
++++ b/apps/files_external/lib/google.php
+@@ -37,8 +37,7 @@ use Icewind\Streams\IteratorDirectory;
+
+ set_include_path(get_include_path().PATH_SEPARATOR.
+ \OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src');
+-require_once 'Google/Client.php';
+-require_once 'Google/Service/Drive.php';
++require_once 'Google/autoload.php';
+
+ class Google extends \OC\Files\Storage\Common {
+