diff options
author | Joas Schilling <coding@schilljs.com> | 2018-02-16 17:13:23 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-02-16 17:13:36 +0100 |
commit | 211212f4b3f2897672e3eec26cd073bbcfe85043 (patch) | |
tree | 6baf8e7796c3996e6a6436a43f4219d927b19aca /core/Command/App | |
parent | f095001e4b29229576f7f74881b78bf9b1db2c85 (diff) | |
download | nextcloud-server-211212f4b3f2897672e3eec26cd073bbcfe85043.tar.gz nextcloud-server-211212f4b3f2897672e3eec26cd073bbcfe85043.zip |
App manager is not needed anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
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>"); }); |