diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-10-14 10:13:20 +0300 |
---|---|---|
committer | blizzz (Rebase PR Action) <blizzz@users.noreply.github.com> | 2021-10-29 12:03:12 +0300 |
commit | 63f29cac4b74f2d910f4928dcb70da6f3a1c0eaa (patch) | |
tree | fb6006a6b8dfe07ee5d9a58fe195f4fa5cb8f718 /apps | |
parent | 3f8ea18b457f3e19906314986fa42b8cd318fa76 (diff) |
Fix two mistakes in previous migration to LoggerInterface in OCA\User_LDAP\Access
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/ajax/wizard.php | 3 | ||||
-rw-r--r-- | apps/user_ldap/lib/Jobs/Sync.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index 34c9729f6f3..3e0a23e9d04 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -71,7 +71,8 @@ $access = new \OCA\User_LDAP\Access( $userManager, new \OCA\User_LDAP\Helper(\OC::$server->getConfig()), \OC::$server->getConfig(), - \OC::$server->getUserManager() + \OC::$server->getUserManager(), + \OC::$server->get(\Psr\Log\LoggerInterface::class) ); $wizard = new \OCA\User_LDAP\Wizard($configuration, $ldapWrapper, $access); diff --git a/apps/user_ldap/lib/Jobs/Sync.php b/apps/user_ldap/lib/Jobs/Sync.php index dab7e4903f3..226a994cf57 100644 --- a/apps/user_ldap/lib/Jobs/Sync.php +++ b/apps/user_ldap/lib/Jobs/Sync.php @@ -343,7 +343,7 @@ class Sync extends TimedJob { if (isset($argument['logger'])) { $this->logger = $argument['logger']; } else { - $this->logger = \OC::$server->getLogger(); + $this->logger = \OC::$server->get(LoggerInterface::class); } if (isset($argument['notificationManager'])) { |