aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-01 14:12:52 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-09-04 17:37:09 +0100
commit19830e6c2455dc67ba0d8f463b46166aa9713064 (patch)
treeedc9cfce652db07eae628e9d6109231f92722774 /core/register_command.php
parentcdf01f04194a9de30e4247338a5b2675cb1c3ece (diff)
downloadnextcloud-server-19830e6c2455dc67ba0d8f463b46166aa9713064.tar.gz
nextcloud-server-19830e6c2455dc67ba0d8f463b46166aa9713064.zip
Introduce mimetype DB update occ command
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index b79c69c8fd5..d3c04ad0671 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -79,10 +79,11 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
);
$application->add(new OC\Core\Command\Encryption\ShowKeyStorageRoot($util));
+ $application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateDB(\OC::$server->getMimeTypeDetector(), \OC::$server->getMimeTypeLoader()));
+ $application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateJS(\OC::$server->getMimeTypeDetector()));
$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()));