diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-24 10:58:16 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-24 12:22:30 +0200 |
commit | 4635ed7748d62ac880ef93f68a58f2663bb1c165 (patch) | |
tree | 1072764eabcc193d311673addadebf159f53c1dd /apps | |
parent | c23bc911984d60746142e043f3df88dd33cb0ddd (diff) | |
download | nextcloud-server-4635ed7748d62ac880ef93f68a58f2663bb1c165.tar.gz nextcloud-server-4635ed7748d62ac880ef93f68a58f2663bb1c165.zip |
Fix autoloading for new google SDK lib
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/ajax/oauth2.php | 2 | ||||
-rw-r--r-- | apps/files_external/lib/Lib/Storage/Google.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/ajax/oauth2.php b/apps/files_external/ajax/oauth2.php index b110cba9fe0..3a0287e1bb3 100644 --- a/apps/files_external/ajax/oauth2.php +++ b/apps/files_external/ajax/oauth2.php @@ -28,7 +28,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/Lib/Storage/Google.php b/apps/files_external/lib/Lib/Storage/Google.php index 50d8849db11..1fe96efcbfe 100644 --- a/apps/files_external/lib/Lib/Storage/Google.php +++ b/apps/files_external/lib/Lib/Storage/Google.php @@ -40,8 +40,6 @@ use Icewind\Streams\RetryWrapper; set_include_path(get_include_path().PATH_SEPARATOR. \OC_App::getAppPath('files_external').'/3rdparty/google-api-php-client/src'); require_once 'Google/autoload.php'; -require_once 'Google/Client.php'; -require_once 'Google/Service/Drive.php'; class Google extends \OC\Files\Storage\Common { |