aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2024-01-11 14:58:10 -0100
committerMaxence Lange <maxence@artificial-owl.com>2024-01-11 23:17:57 -0100
commitbd3df759fb91b83eb242460aeaa60fbc30f5f03c (patch)
treea397bf4d3015aca4a8444fa7f4c7484b2f69b99c /core/register_command.php
parent2560f6e8a3f306df0858060cb5b68c0bd8145869 (diff)
downloadnextcloud-server-bd3df759fb91b83eb242460aeaa60fbc30f5f03c.tar.gz
nextcloud-server-bd3df759fb91b83eb242460aeaa60fbc30f5f03c.zip
occ background-job:delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 27863cfdc8d..5a6e00c8a22 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -92,6 +92,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Background\Job(\OC::$server->getJobList(), \OC::$server->getLogger()));
$application->add(new OC\Core\Command\Background\ListCommand(\OC::$server->getJobList()));
+ $application->add(\OCP\Server::get(\OC\Core\Command\Background\Delete::class));
$application->add(\OC::$server->query(\OC\Core\Command\Broadcast\Test::class));