fix: Migrate away from OC_App toward the IAppManager

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet
2024-03-06 11:54:58 +01:00
parent 683dc07f06
commit 644036ab4e
11 changed files with 99 additions and 93 deletions
+2 -1
View File
@@ -107,7 +107,8 @@ try {
\OC::$server->get(\OCP\EventDispatcher\IEventDispatcher::class),
\OC::$server->getRequest(),
\OC::$server->get(\Psr\Log\LoggerInterface::class),
\OC::$server->query(\OC\MemoryInfo::class)
\OC::$server->query(\OC\MemoryInfo::class),
\OCP\Server::get(\OCP\App\IAppManager::class),
);
$application->loadCommands(new ArgvInput(), new ConsoleOutput());
$application->run();