summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2021-10-14 09:13:20 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2021-10-14 09:24:49 +0200
commitd189a23f4337b322389d90fdb5006455ceb5a14c (patch)
tree4f578187b65c1466f3b4a45f0ca7c36e8ec0dc1c /apps/user_ldap/lib
parent51398d706af44eaee2ecc5186ea564559c6aa934 (diff)
downloadnextcloud-server-d189a23f4337b322389d90fdb5006455ceb5a14c.tar.gz
nextcloud-server-d189a23f4337b322389d90fdb5006455ceb5a14c.zip
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/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/Jobs/Sync.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Jobs/Sync.php b/apps/user_ldap/lib/Jobs/Sync.php
index 4d2e2944163..10036f8dc12 100644
--- a/apps/user_ldap/lib/Jobs/Sync.php
+++ b/apps/user_ldap/lib/Jobs/Sync.php
@@ -341,7 +341,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'])) {