Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-19 15:06:34 +0300
committerJoas Schilling <coding@schilljs.com>2021-04-27 15:34:32 +0300
commitdf47445c014b83d8400bada6dad53d26d24fd803 (patch)
treec1b46093f33a84209a7b037647888703b31b2e82 /console.php
parent56ae87c281d2f54b23f98acf0e138d8e72196a06 (diff)
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());