summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo/register_command.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-11-25 16:25:45 +0100
committerRobin Appelman <icewind@owncloud.com>2015-12-01 13:47:32 +0100
commit2dd0066b0e1a9dba311f964617f8d7f13a6123bf (patch)
tree059f5353ed0c6f8ba40fb8c759a196c79be7e0db /apps/files_external/appinfo/register_command.php
parentd5ffbc94012d4a21bf9e5bc95988c220e981afd1 (diff)
downloadnextcloud-server-2dd0066b0e1a9dba311f964617f8d7f13a6123bf.tar.gz
nextcloud-server-2dd0066b0e1a9dba311f964617f8d7f13a6123bf.zip
Add command to set mount options for external storages
Diffstat (limited to 'apps/files_external/appinfo/register_command.php')
-rw-r--r--apps/files_external/appinfo/register_command.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_external/appinfo/register_command.php b/apps/files_external/appinfo/register_command.php
index 2e8ff9ca600..183d965d1a1 100644
--- a/apps/files_external/appinfo/register_command.php
+++ b/apps/files_external/appinfo/register_command.php
@@ -22,6 +22,7 @@
use OCA\Files_External\Command\ListCommand;
use OCA\Files_External\Command\Config;
+use OCA\Files_External\Command\Option;
$userManager = OC::$server->getUserManager();
$userSession = OC::$server->getUserSession();
@@ -33,4 +34,5 @@ $userStorageService = $app->getContainer()->query('\OCA\Files_external\Service\U
/** @var Symfony\Component\Console\Application $application */
$application->add(new ListCommand($globalStorageService, $userStorageService, $userSession, $userManager));
-$application->add(new Config($globalStorageService, $userStorageService, $userSession, $userManager));
+$application->add(new Config($globalStorageService));
+$application->add(new Option($globalStorageService));