summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-09-23 21:47:47 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-10-07 20:58:22 +0200
commit67d3574bdfdc08ad5815b5034a7c2c2e35afb4c0 (patch)
tree422684c7cb62f1f0e6b709e9160d0073cbadc5ea /core/register_command.php
parentbccc4e618a58281f390b6baa88cc0b03b1e40172 (diff)
downloadnextcloud-server-67d3574bdfdc08ad5815b5034a7c2c2e35afb4c0.tar.gz
nextcloud-server-67d3574bdfdc08ad5815b5034a7c2c2e35afb4c0.zip
Don't parse info.xml but reuse already cached app infos - fixes #25603 (#25968)
* Don't parse info.xml but reuse already cached app infos - fixes #25603 * Use === in InfoParser. Fixes test * InfoParser should not depend on UrlGenerator - fixes issue with session being closed too early
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 23621e54f8d..a6da3cbd899 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -36,7 +36,7 @@
$application->add(new \Stecman\Component\Symfony\Console\BashCompletion\CompletionCommand());
$application->add(new OC\Core\Command\Status);
$application->add(new OC\Core\Command\Check(\OC::$server->getConfig()));
-$infoParser = new \OC\App\InfoParser(\OC::$server->getURLGenerator());
+$infoParser = new \OC\App\InfoParser();
$application->add(new OC\Core\Command\App\CheckCode($infoParser));
$application->add(new OC\Core\Command\L10n\CreateJs());
$application->add(new \OC\Core\Command\Integrity\SignApp(