aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2024-09-19 10:58:38 +0200
committerGitHub <noreply@github.com>2024-09-19 10:58:38 +0200
commit086b11f8fb5c86518b89e365b7d26a0a9c9eccc1 (patch)
treeb20a787046576187cef6d0ed83648d389d9f1785 /apps/user_ldap
parenta0cb795f043e27a1ef2f438f655efe690311a9b2 (diff)
parent5cce140701638aabac9ca692433b45517b741161 (diff)
downloadnextcloud-server-086b11f8fb5c86518b89e365b7d26a0a9c9eccc1.tar.gz
nextcloud-server-086b11f8fb5c86518b89e365b7d26a0a9c9eccc1.zip
Merge pull request #47978 from nextcloud/chore/remove-ilogger
chore!: Remove `ILogger` and its friends
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/LDAPProvider.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/LDAPProvider.php b/apps/user_ldap/lib/LDAPProvider.php
index a6634382fa1..3b1568d1748 100644
--- a/apps/user_ldap/lib/LDAPProvider.php
+++ b/apps/user_ldap/lib/LDAPProvider.php
@@ -11,9 +11,10 @@ use OCA\User_LDAP\User\DeletedUsersIndex;
use OCP\IServerContainer;
use OCP\LDAP\IDeletionFlagSupport;
use OCP\LDAP\ILDAPProvider;
+use Psr\Log\LoggerInterface;
/**
- * LDAP provider for pulic access to the LDAP backend.
+ * LDAP provider for public access to the LDAP backend.
*/
class LDAPProvider implements ILDAPProvider, IDeletionFlagSupport {
private $userBackend;
@@ -30,7 +31,7 @@ class LDAPProvider implements ILDAPProvider, IDeletionFlagSupport {
* @throws \Exception if user_ldap app was not enabled
*/
public function __construct(IServerContainer $serverContainer, Helper $helper, DeletedUsersIndex $deletedUsersIndex) {
- $this->logger = $serverContainer->getLogger();
+ $this->logger = $serverContainer->get(LoggerInterface::class);
$this->helper = $helper;
$this->deletedUsersIndex = $deletedUsersIndex;
$userBackendFound = false;