diff options
author | Joas Schilling <coding@schilljs.com> | 2021-04-22 16:22:50 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-04-27 15:34:32 +0300 |
commit | 167efa19d706b1e430343554cdecd513cbb6610e (patch) | |
tree | 8f4afd2fd685a8434281046f7aa89713f7b8d798 /core/ajax | |
parent | df47445c014b83d8400bada6dad53d26d24fd803 (diff) |
Fix psalm errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/ajax')
-rw-r--r-- | core/ajax/update.php | 2 |
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, |