summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-16 17:49:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-09-24 11:58:12 +0200
commit9b652ed5d50a40a1edde0f1b8c859f49ff8248c9 (patch)
tree6f8541f68e265257bb0d7e94e87038421466fadb /core/register_command.php
parent1191dda0d88c25cbc02de7752e7d9ef81b9f8b9f (diff)
downloadnextcloud-server-9b652ed5d50a40a1edde0f1b8c859f49ff8248c9.tar.gz
nextcloud-server-9b652ed5d50a40a1edde0f1b8c859f49ff8248c9.zip
[App Code Check] add check for version and mandatory fields
* ref #17598 * including unit tests for mandatory fields/versions
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 114e115c491..878542f72c9 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -28,7 +28,8 @@
/** @var $application Symfony\Component\Console\Application */
$application->add(new OC\Core\Command\Status);
$application->add(new OC\Core\Command\Check(\OC::$server->getConfig()));
-$application->add(new OC\Core\Command\App\CheckCode());
+$infoParser = new \OC\App\InfoParser(\OC::$server->getHTTPHelper(), \OC::$server->getURLGenerator());
+$application->add(new OC\Core\Command\App\CheckCode($infoParser));
$application->add(new OC\Core\Command\L10n\CreateJs());
if (\OC::$server->getConfig()->getSystemValue('installed', false)) {