diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-12 22:09:20 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-25 00:22:10 +0100 |
commit | 88a78237b01bae66786f9c32f30b936240ea6f58 (patch) | |
tree | b97b4dfabf734df257a25c5aff9e6f3f001b0e6c /apps/files_external/ajax | |
parent | a50ef618761ae3588d00e55c39451cba75672e7f (diff) | |
download | nextcloud-server-88a78237b01bae66786f9c32f30b936240ea6f58.tar.gz nextcloud-server-88a78237b01bae66786f9c32f30b936240ea6f58.zip |
Migrate Google external storage to new API
Diffstat (limited to 'apps/files_external/ajax')
-rw-r--r-- | apps/files_external/ajax/oauth2.php (renamed from apps/files_external/ajax/google.php) | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/ajax/google.php b/apps/files_external/ajax/oauth2.php index acaf1b0b27f..0a202e3ddcb 100644 --- a/apps/files_external/ajax/google.php +++ b/apps/files_external/ajax/oauth2.php @@ -33,6 +33,7 @@ OCP\JSON::checkLoggedIn(); OCP\JSON::callCheck(); $l = \OC::$server->getL10N('files_external'); +// FIXME: currently hard-coded to Google Drive if (isset($_POST['client_id']) && isset($_POST['client_secret']) && isset($_POST['redirect'])) { $client = new Google_Client(); $client->setClientId((string)$_POST['client_id']); |