summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-02-05 14:17:03 +0100
committerRobin Appelman <icewind@owncloud.com>2016-02-05 14:20:22 +0100
commit54d2175bf585821c87081b432b90a64e466d3f67 (patch)
tree27a19f25d722ddd3ae900cdd5b481891e8793092 /apps/files_external/appinfo
parent7dde2c773f4efee0094176fe76b2c64f4f74a1ea (diff)
downloadnextcloud-server-54d2175bf585821c87081b432b90a64e466d3f67.tar.gz
nextcloud-server-54d2175bf585821c87081b432b90a64e466d3f67.zip
Add occ files_external:create command to add new mounts
Diffstat (limited to 'apps/files_external/appinfo')
-rw-r--r--apps/files_external/appinfo/register_command.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/register_command.php b/apps/files_external/appinfo/register_command.php
index 929becce77a..5f6f42bf8c1 100644
--- a/apps/files_external/appinfo/register_command.php
+++ b/apps/files_external/appinfo/register_command.php
@@ -27,6 +27,8 @@ use OCA\Files_External\Command\Applicable;
use OCA\Files_External\Command\Import;
use OCA\Files_External\Command\Export;
use OCA\Files_External\Command\Delete;
+use OCA\Files_External\Command\Create;
+use OCA\Files_External\Command\Backends;
$userManager = OC::$server->getUserManager();
$userSession = OC::$server->getUserSession();
@@ -47,3 +49,5 @@ $application->add(new Applicable($globalStorageService, $userManager, $groupMana
$application->add(new Import($globalStorageService, $userStorageService, $userSession, $userManager, $importLegacyStorageService, $backendService));
$application->add(new Export($globalStorageService, $userStorageService, $userSession, $userManager));
$application->add(new Delete($globalStorageService, $userStorageService, $userSession, $userManager));
+$application->add(new Create($globalStorageService, $userStorageService, $userManager, $userSession, $backendService));
+$application->add(new Backends($backendService));