diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-12 22:19:32 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-19 14:41:44 +0100 |
commit | 16389270ffc36becba628002a80789acfb2eb83d (patch) | |
tree | c78de73488248c05b32c39c0b8aca1a29b1c312a /apps/files_external/appinfo | |
parent | a99e52489892299e2b3148fbde46ce3790c34124 (diff) | |
download | nextcloud-server-16389270ffc36becba628002a80789acfb2eb83d.tar.gz nextcloud-server-16389270ffc36becba628002a80789acfb2eb83d.zip |
Migrate SFTP external storage to new API
Diffstat (limited to 'apps/files_external/appinfo')
-rw-r--r-- | apps/files_external/appinfo/app.php | 11 | ||||
-rw-r--r-- | apps/files_external/appinfo/application.php | 1 |
2 files changed, 1 insertions, 11 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index aa10b9b300f..3d8e610db4d 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -157,17 +157,6 @@ if (!OC_Util::runningOnWindows()) { ]); } -OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP', [ - 'backend' => 'SFTP', - 'priority' => 100, - 'configuration' => [ - 'host' => (string)$l->t('Host'), - 'user' => (string)$l->t('Username'), - 'password' => '*'.$l->t('Password'), - 'root' => '&'.$l->t('Remote subfolder'), - ], -]); - OC_Mount_Config::registerBackend('\OC\Files\Storage\SFTP_Key', [ 'backend' => (string)$l->t('SFTP with secret key login'), 'priority' => 100, diff --git a/apps/files_external/appinfo/application.php b/apps/files_external/appinfo/application.php index 93ecbd50b29..4520a8737be 100644 --- a/apps/files_external/appinfo/application.php +++ b/apps/files_external/appinfo/application.php @@ -64,6 +64,7 @@ class Application extends App { $container->query('OCA\Files_External\Lib\Backend\FTP'), $container->query('OCA\Files_External\Lib\Backend\DAV'), $container->query('OCA\Files_External\Lib\Backend\OwnCloud'), + $container->query('OCA\Files_External\Lib\Backend\SFTP'), ]); if (!\OC_Util::runningOnWindows()) { |