aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/ajax
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-24 10:58:16 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-24 12:22:30 +0200
commit4635ed7748d62ac880ef93f68a58f2663bb1c165 (patch)
tree1072764eabcc193d311673addadebf159f53c1dd /apps/files_external/ajax
parentc23bc911984d60746142e043f3df88dd33cb0ddd (diff)
downloadnextcloud-server-4635ed7748d62ac880ef93f68a58f2663bb1c165.tar.gz
nextcloud-server-4635ed7748d62ac880ef93f68a58f2663bb1c165.zip
Fix autoloading for new google SDK lib
Diffstat (limited to 'apps/files_external/ajax')
-rw-r--r--apps/files_external/ajax/oauth2.php2
1 files changed, 1 insertions, 1 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();