summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo/register_command.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-11-24 15:53:02 +0100
committerRobin Appelman <icewind@owncloud.com>2015-12-01 13:47:32 +0100
commitd5ffbc94012d4a21bf9e5bc95988c220e981afd1 (patch)
tree3f2bd556f482d092e437fd180f61106108f1db5f /apps/files_external/appinfo/register_command.php
parent36660734a62b0f388b4d1dcc70f1bfaae620bf28 (diff)
downloadnextcloud-server-d5ffbc94012d4a21bf9e5bc95988c220e981afd1.tar.gz
nextcloud-server-d5ffbc94012d4a21bf9e5bc95988c220e981afd1.zip
Add command to get and set config for external mounts
Diffstat (limited to 'apps/files_external/appinfo/register_command.php')
-rw-r--r--apps/files_external/appinfo/register_command.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/register_command.php b/apps/files_external/appinfo/register_command.php
index a436dc95005..2e8ff9ca600 100644
--- a/apps/files_external/appinfo/register_command.php
+++ b/apps/files_external/appinfo/register_command.php
@@ -21,6 +21,7 @@
use OCA\Files_External\Command\ListCommand;
+use OCA\Files_External\Command\Config;
$userManager = OC::$server->getUserManager();
$userSession = OC::$server->getUserSession();
@@ -32,3 +33,4 @@ $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));