Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-24 11:58:16 +0300
committerVincent Petry <pvince81@owncloud.com>2016-05-24 13:22:30 +0300
commit4635ed7748d62ac880ef93f68a58f2663bb1c165 (patch)
tree1072764eabcc193d311673addadebf159f53c1dd /apps/files_external
parentc23bc911984d60746142e043f3df88dd33cb0ddd (diff)
Fix autoloading for new google SDK lib
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/ajax/oauth2.php2
-rw-r--r--apps/files_external/lib/Lib/Storage/Google.php2
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 {