diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-01 18:20:09 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-01 18:20:09 +0200 |
commit | 46e43d49acf0274c8b7b64f633ab76d0fa5c8d8f (patch) | |
tree | f2e4015d9cd7229c06c87b25465d9ac70fd58622 | |
parent | 8001f2abcd09c491ff634d0360f0650987669562 (diff) | |
parent | cbbff87d0c85bd58ff694bd94b69974d9cfed768 (diff) | |
download | nextcloud-server-46e43d49acf0274c8b7b64f633ab76d0fa5c8d8f.tar.gz nextcloud-server-46e43d49acf0274c8b7b64f633ab76d0fa5c8d8f.zip |
Merge pull request #15358 from owncloud/global-cmd
Allow app:check-code and l10n:createjs commands when not installed
-rw-r--r-- | core/register_command.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/register_command.php b/core/register_command.php index aa509de1899..67fdb6f808e 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -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())); |