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
path: root/core/ajax
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-22 16:22:50 +0300
committerJoas Schilling <coding@schilljs.com>2021-04-27 15:34:32 +0300
commit167efa19d706b1e430343554cdecd513cbb6610e (patch)
tree8f4afd2fd685a8434281046f7aa89713f7b8d798 /core/ajax
parentdf47445c014b83d8400bada6dad53d26d24fd803 (diff)
Fix psalm errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 6e655f42841..390ad0c2c47 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -117,7 +117,7 @@ if (\OCP\Util::needUpgrade()) {
// avoid side effects
\OC_User::setIncognitoMode(true);
- $logger = \OC::$server->getLogger();
+ $logger = \OC::$server->get(\Psr\Log\LoggerInterface::class);
$config = \OC::$server->getConfig();
$updater = new \OC\Updater(
$config,