diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-03-16 13:43:36 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-03-16 13:43:36 +0100 |
commit | cf476b262715557a3dc523f9878b49fd15708705 (patch) | |
tree | 080577ebcf9a2fecf01d529228e1630d9a4c23e2 /owncloud-8.1.5-google_autoload.patch | |
parent | b15855909305e99fea24b4874827d8100f49cfef (diff) |
owncloud 8.1.5 (backported from Fedora)
Diffstat (limited to 'owncloud-8.1.5-google_autoload.patch')
-rw-r--r-- | owncloud-8.1.5-google_autoload.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/owncloud-8.1.5-google_autoload.patch b/owncloud-8.1.5-google_autoload.patch new file mode 100644 index 0000000..00aa63d --- /dev/null +++ b/owncloud-8.1.5-google_autoload.patch @@ -0,0 +1,27 @@ +diff --git a/apps/files_external/ajax/google.php b/apps/files_external/ajax/google.php +index e094367..8f2638b 100644 +--- a/apps/files_external/ajax/google.php ++++ b/apps/files_external/ajax/google.php +@@ -26,7 +26,7 @@ + */ + 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/autoload.php'; + + OCP\JSON::checkAppEnabled('files_external'); + OCP\JSON::checkLoggedIn(); +diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php +index 8199d97..4bec351 100644 +--- a/apps/files_external/lib/google.php ++++ b/apps/files_external/lib/google.php +@@ -34,8 +34,7 @@ namespace OC\Files\Storage; + + 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 { + |