aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-04-03 17:28:47 +0200
committerRobin Appelman <robin@icewind.nl>2023-04-03 17:30:57 +0200
commit013eedabbd42fef231b1dc95993460ef5621048c (patch)
tree66c937acf8a1ea223cdc74d930e726505d7101e8 /core/register_command.php
parent5024f295dcfdf850d2d95f419bcf122bf08be5c8 (diff)
downloadnextcloud-server-013eedabbd42fef231b1dc95993460ef5621048c.tar.gz
nextcloud-server-013eedabbd42fef231b1dc95993460ef5621048c.zip
add command to generate a preview for a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
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 df008402076..3c099519808 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -175,6 +175,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
));
$application->add(\OC::$server->query(OC\Core\Command\Maintenance\RepairShareOwnership::class));
+ $application->add(\OC::$server->get(\OC\Core\Command\Preview\Generate::class));
$application->add(\OC::$server->query(\OC\Core\Command\Preview\Repair::class));
$application->add(\OC::$server->query(\OC\Core\Command\Preview\ResetRenderedTexts::class));