summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-01 14:09:15 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-09-01 14:12:07 +0100
commit79fceeff338d262828cc977839b171999da0a7eb (patch)
tree88781d1ee06cab1d8466b998af96c6e16dc85e7a /core/register_command.php
parent9e9ffb1356ed30b92d19e9cb36b9848ea057970b (diff)
downloadnextcloud-server-79fceeff338d262828cc977839b171999da0a7eb.tar.gz
nextcloud-server-79fceeff338d262828cc977839b171999da0a7eb.zip
Move maintenance:mimetypesjs to sublocation, cleanup code
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 72c7b28e9ae..b79c69c8fd5 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -79,10 +79,10 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
);
$application->add(new OC\Core\Command\Encryption\ShowKeyStorageRoot($util));
- $application->add(new OC\Core\Command\Maintenance\MimeTypesJS());
$application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Maintenance\Repair(new \OC\Repair(\OC\Repair::getRepairSteps()), \OC::$server->getConfig()));
$application->add(new OC\Core\Command\Maintenance\SingleUser(\OC::$server->getConfig()));
+ $application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateJS(\OC::$server->getMimeTypeDetector()));
$application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig()));