summaryrefslogtreecommitdiffstats
path: root/core/ajax/update.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-04-22 15:22:50 +0200
committerJoas Schilling <coding@schilljs.com>2021-04-27 14:34:32 +0200
commit167efa19d706b1e430343554cdecd513cbb6610e (patch)
tree8f4afd2fd685a8434281046f7aa89713f7b8d798 /core/ajax/update.php
parentdf47445c014b83d8400bada6dad53d26d24fd803 (diff)
downloadnextcloud-server-167efa19d706b1e430343554cdecd513cbb6610e.tar.gz
nextcloud-server-167efa19d706b1e430343554cdecd513cbb6610e.zip
Fix psalm errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/ajax/update.php')
-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,