summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2016-01-29 14:10:43 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-29 14:10:43 +0100
commitb9b74d935f8311bbb85977c589a74d704db23e15 (patch)
tree5a021211e4a01ce6f1f0bc0b4c036f2533d1be8f /apps/files_external/appinfo
parentb65a23ca4b41ee7ce6290eacde44caeb70a00b2e (diff)
downloadnextcloud-server-b9b74d935f8311bbb85977c589a74d704db23e15.tar.gz
nextcloud-server-b9b74d935f8311bbb85977c589a74d704db23e15.zip
Add delete command for external storages
Diffstat (limited to 'apps/files_external/appinfo')
-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 be32cd410f8..d85906e3831 100644
--- a/apps/files_external/appinfo/register_command.php
+++ b/apps/files_external/appinfo/register_command.php
@@ -25,6 +25,7 @@ use OCA\Files_External\Command\Config;
use OCA\Files_External\Command\Option;
use OCA\Files_External\Command\Import;
use OCA\Files_External\Command\Export;
+use OCA\Files_External\Command\Delete;
$userManager = OC::$server->getUserManager();
$userSession = OC::$server->getUserSession();
@@ -42,3 +43,4 @@ $application->add(new Config($globalStorageService));
$application->add(new Option($globalStorageService));
$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));