diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-03-06 11:54:58 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-04-22 12:14:58 +0200 |
commit | 644036ab4e3d1d6f175a485ed7ae4883c668ff48 (patch) | |
tree | c11aba914ce246805c420270d0e5bb828c58ee1a /console.php | |
parent | 683dc07f06018e72e46f067a306dc14408ce91f9 (diff) | |
download | nextcloud-server-644036ab4e3d1d6f175a485ed7ae4883c668ff48.tar.gz nextcloud-server-644036ab4e3d1d6f175a485ed7ae4883c668ff48.zip |
fix: Migrate away from OC_App toward the IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'console.php')
-rw-r--r-- | console.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/console.php b/console.php index 68647a874c4..afa8b1b6be1 100644 --- a/console.php +++ b/console.php @@ -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(); |