aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/ajax
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2021-11-09 15:11:15 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2021-11-09 15:11:15 +0100
commit6b960de47cabaa7a231e72479012ba4dcbc2e882 (patch)
tree362d7052250df7f8ec341f9035f4320666a9e748 /apps/user_ldap/ajax
parent81b60c14c985b0a46fd31733db2add9efd7bedba (diff)
downloadnextcloud-server-6b960de47cabaa7a231e72479012ba4dcbc2e882.tar.gz
nextcloud-server-6b960de47cabaa7a231e72479012ba4dcbc2e882.zip
Get rid of LogWrapper calling deprecated logger and use LoggerInterface from PSR instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/ajax')
-rw-r--r--apps/user_ldap/ajax/wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php
index 9df66f81b13..814477d5db0 100644
--- a/apps/user_ldap/ajax/wizard.php
+++ b/apps/user_ldap/ajax/wizard.php
@@ -55,7 +55,7 @@ $con->setIgnoreValidation(true);
$userManager = new \OCA\User_LDAP\User\Manager(
\OC::$server->getConfig(),
new \OCA\User_LDAP\FilesystemHelper(),
- new \OCA\User_LDAP\LogWrapper(),
+ \OC::$server->get(\Psr\Log\LoggerInterface::class),
\OC::$server->getAvatarManager(),
new \OCP\Image(),
\OC::$server->getUserManager(),