summaryrefslogtreecommitdiffstats
path: root/console.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-19 14:06:34 +0200
committerJoas Schilling <coding@schilljs.com>2021-04-27 14:34:32 +0200
commitdf47445c014b83d8400bada6dad53d26d24fd803 (patch)
treec1b46093f33a84209a7b037647888703b31b2e82 /console.php
parent56ae87c281d2f54b23f98acf0e138d8e72196a06 (diff)
downloadnextcloud-server-df47445c014b83d8400bada6dad53d26d24fd803.tar.gz
nextcloud-server-df47445c014b83d8400bada6dad53d26d24fd803.zip
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'console.php')
-rw-r--r--console.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.php b/console.php
index 88456a9bd77..4aa6e214cb7 100644
--- a/console.php
+++ b/console.php
@@ -93,7 +93,7 @@ try {
\OC::$server->getConfig(),
\OC::$server->getEventDispatcher(),
\OC::$server->getRequest(),
- \OC::$server->getLogger(),
+ \OC::$server->get(\Psr\Log\LoggerInterface::class),
\OC::$server->query(\OC\MemoryInfo::class)
);
$application->loadCommands(new ArgvInput(), new ConsoleOutput());