summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2016-02-08 15:55:09 +0000
committerRobin McCorkell <robin@mccorkell.me.uk>2016-05-03 11:30:02 +0100
commit43abe2b64855d5acbde4ce4c58a4f543371bb001 (patch)
treef1ed1713ad114ff870ea4f0f1388ec66c5af98f6 /apps/files_external/lib
parentde98a6e54cd2d732e0b7c1297e8da43e53bb97c7 (diff)
downloadnextcloud-server-43abe2b64855d5acbde4ce4c58a4f543371bb001.tar.gz
nextcloud-server-43abe2b64855d5acbde4ce4c58a4f543371bb001.zip
Add links to load GDrive/Dropbox configuration pages
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/backend/dropbox.php1
-rw-r--r--apps/files_external/lib/backend/google.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/backend/dropbox.php b/apps/files_external/lib/backend/dropbox.php
index f9156082515..2133c274996 100644
--- a/apps/files_external/lib/backend/dropbox.php
+++ b/apps/files_external/lib/backend/dropbox.php
@@ -44,6 +44,7 @@ class Dropbox extends Backend {
// all parameters handled in OAuth1 mechanism
])
->addAuthScheme(AuthMechanism::SCHEME_OAUTH1)
+ ->addCustomJs('dropbox')
->setLegacyAuthMechanism($legacyAuth)
;
}
diff --git a/apps/files_external/lib/backend/google.php b/apps/files_external/lib/backend/google.php
index b2b48a0e402..b18b7bdb348 100644
--- a/apps/files_external/lib/backend/google.php
+++ b/apps/files_external/lib/backend/google.php
@@ -44,6 +44,7 @@ class Google extends Backend {
// all parameters handled in OAuth2 mechanism
])
->addAuthScheme(AuthMechanism::SCHEME_OAUTH2)
+ ->addCustomJs('gdrive')
->setLegacyAuthMechanism($legacyAuth)
;
}