diff options
Diffstat (limited to 'core/Command/App')
-rw-r--r-- | core/Command/App/CheckCode.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Command/App/CheckCode.php b/core/Command/App/CheckCode.php index a129bcf1e10..530c1d30ec0 100644 --- a/core/Command/App/CheckCode.php +++ b/core/Command/App/CheckCode.php @@ -126,8 +126,7 @@ class CheckCode extends Command implements CompletionAwareInterface { } if(!$input->getOption('skip-validate-info')) { - // Can not inject because of circular dependency - $infoChecker = new InfoChecker(\OC::$server->getAppManager()); + $infoChecker = new InfoChecker(); $infoChecker->listen('InfoChecker', 'parseError', function($error) use ($output) { $output->writeln("<error>Invalid appinfo.xml file found: $error</error>"); }); |