aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo/app.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-12 21:55:43 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-19 14:41:43 +0100
commit0ffb51c6cc78b9c81b8b96f68d316673e43dfeaa (patch)
tree5b3a4645bb76d6ca39a9b842f9912bcf65135c38 /apps/files_external/appinfo/app.php
parent3b27603762e38f87d50b923e05cfb86c83b1ca1b (diff)
downloadnextcloud-server-0ffb51c6cc78b9c81b8b96f68d316673e43dfeaa.tar.gz
nextcloud-server-0ffb51c6cc78b9c81b8b96f68d316673e43dfeaa.zip
Migrate Local external storage to new API
Diffstat (limited to 'apps/files_external/appinfo/app.php')
-rw-r--r--apps/files_external/appinfo/app.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php
index 4bdfd316799..6b9be44f368 100644
--- a/apps/files_external/appinfo/app.php
+++ b/apps/files_external/appinfo/app.php
@@ -70,18 +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\Local', [
- 'backend' => (string)$l->t('Local'),
- 'priority' => 150,
- 'configuration' => [
- 'datadir' => (string)$l->t('Location')
- ],
-]);
-// Local must only be visible to the admin
-$appContainer->query('OCA\Files_External\Service\BackendService')
- ->getBackend('\OC\Files\Storage\Local')
- ->setAllowedVisibility(\OCA\Files_External\Service\BackendService::VISIBILITY_ADMIN);
-
OC_Mount_Config::registerBackend('\OC\Files\Storage\AmazonS3', [
'backend' => (string)$l->t('Amazon S3'),
'priority' => 100,