]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow app:check-code and l10n:createjs commands when not installed
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Wed, 1 Apr 2015 12:18:56 +0000 (13:18 +0100)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Wed, 1 Apr 2015 12:18:56 +0000 (13:18 +0100)
core/register_command.php

index aa509de189986810a4873c90b43ebca9f77b9276..67fdb6f808e4343518a6ac85ab818b5fc8e0366f 100644 (file)
@@ -26,6 +26,8 @@
 
 /** @var $application Symfony\Component\Console\Application */
 $application->add(new OC\Core\Command\Status);
+$application->add(new OC\Core\Command\App\CheckCode());
+$application->add(new OC\Core\Command\L10n\CreateJs());
 
 if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
        $repair = new \OC\Repair(\OC\Repair::getRepairSteps());
@@ -35,7 +37,6 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
        $application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig()));
        $application->add(new OC\Core\Command\Maintenance\SingleUser());
        $application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
-       $application->add(new OC\Core\Command\App\CheckCode());
        $application->add(new OC\Core\Command\App\Disable());
        $application->add(new OC\Core\Command\App\Enable());
        $application->add(new OC\Core\Command\App\ListApps());
@@ -45,7 +46,6 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
        $application->add(new OC\Core\Command\User\LastSeen());
        $application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager()));
        $application->add(new OC\Core\Command\User\Add(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
-       $application->add(new OC\Core\Command\L10n\CreateJs());
        $application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig()));
        $application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));
        $application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));