diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-12 21:58:22 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-25 00:22:10 +0100 |
commit | ced04f9ad2a55439d74681ce1a582a5c6ed2d5ab (patch) | |
tree | a70f17149660d9ad83dc3910980dc320753d1c09 /apps/files_external/appinfo/app.php | |
parent | f505883e452f3c1e2653096f57e3494e0546fc46 (diff) | |
download | nextcloud-server-ced04f9ad2a55439d74681ce1a582a5c6ed2d5ab.tar.gz nextcloud-server-ced04f9ad2a55439d74681ce1a582a5c6ed2d5ab.zip |
Migrate AmazonS3 external storage to new API
Diffstat (limited to 'apps/files_external/appinfo/app.php')
-rw-r--r-- | apps/files_external/appinfo/app.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index 3d8e610db4d..241e29be402 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -70,33 +70,6 @@ if (OCP\Config::getAppValue('files_external', 'allow_user_mounting', 'yes') == ' OCP\Util::connectHook('OC_Filesystem', 'post_initMountPoints', '\OC_Mount_Config', 'initMountPointsHook'); OCP\Util::connectHook('OC_User', 'post_login', 'OC\Files\Storage\SMB_OC', 'login'); -OC_Mount_Config::registerBackend('\OC\Files\Storage\AmazonS3', [ - 'backend' => (string)$l->t('Amazon S3'), - 'priority' => 100, - 'configuration' => [ - 'key' => (string)$l->t('Key'), - 'secret' => '*'.$l->t('Secret'), - 'bucket' => (string)$l->t('Bucket'), - ], - 'has_dependencies' => true, -]); - -OC_Mount_Config::registerBackend('\OC\Files\Storage\AmazonS3', [ - 'backend' => (string)$l->t('Amazon S3 and compliant'), - 'priority' => 100, - 'configuration' => [ - 'key' => (string)$l->t('Access Key'), - 'secret' => '*'.$l->t('Secret Key'), - 'bucket' => (string)$l->t('Bucket'), - 'hostname' => '&'.$l->t('Hostname'), - 'port' => '&'.$l->t('Port'), - 'region' => '&'.$l->t('Region'), - 'use_ssl' => '!'.$l->t('Enable SSL'), - 'use_path_style' => '!'.$l->t('Enable Path Style') - ], - 'has_dependencies' => true, -]); - OC_Mount_Config::registerBackend('\OC\Files\Storage\Dropbox', [ 'backend' => 'Dropbox', 'priority' => 100, |