summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-12-03 14:14:31 +0100
committerRobin Appelman <icewind@owncloud.com>2014-12-04 16:47:30 +0100
commita369d7812463c2afddf1640c42643de6312ab9ba (patch)
tree956d3431dd3f112233a90577e4bd13d7bfab9899 /apps/files_external/appinfo
parentf4701d7721453b8356a5be401bb5063d22f851c6 (diff)
downloadnextcloud-server-a369d7812463c2afddf1640c42643de6312ab9ba.tar.gz
nextcloud-server-a369d7812463c2afddf1640c42643de6312ab9ba.zip
Use the mount config api for files_external
Diffstat (limited to 'apps/files_external/appinfo')
-rw-r--r--apps/files_external/appinfo/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php
index ea14f7adbcf..707563096f8 100644
--- a/apps/files_external/appinfo/app.php
+++ b/apps/files_external/appinfo/app.php
@@ -177,3 +177,5 @@ OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', array(
'password' => '*'.$l->t('Password'),
'root' => '&'.$l->t('Root'))));
+$mountProvider = new \OCA\Files_External\Config\ConfigAdapter();
+\OC::$server->getMountProviderCollection()->registerProvider($mountProvider);