summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-29 17:03:42 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-29 17:03:42 +0100
commitb961ada089e8c58eb9e93c0ddf5cc9d8d5df476d (patch)
tree11ccc73c23be2e4fe5657d1017ab0d59d5f2b4f6 /apps/files_external/appinfo
parent67bf225fbe4603d84e8461e07881b014cc04eda2 (diff)
parentb9b74d935f8311bbb85977c589a74d704db23e15 (diff)
downloadnextcloud-server-b961ada089e8c58eb9e93c0ddf5cc9d8d5df476d.tar.gz
nextcloud-server-b961ada089e8c58eb9e93c0ddf5cc9d8d5df476d.zip
Merge pull request #22018 from owncloud/occ-external-delete
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));