App manager is not needed anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
f095001e4b
commit
211212f4b3
|
@ -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>");
|
||||
});
|
||||
|
|
|
@ -44,7 +44,7 @@ class InfoCheckerTest extends TestCase {
|
|||
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
$this->infoChecker = new InfoChecker(\OC::$server->getAppManager());
|
||||
$this->infoChecker = new InfoChecker();
|
||||
}
|
||||
|
||||
public function appInfoData() {
|
||||
|
|
Loading…
Reference in New Issue