summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Proxy.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-06 11:25:28 +0100
committerJoas Schilling <coding@schilljs.com>2020-11-06 11:25:28 +0100
commit5fba0e562f1e9e7e53b28ce5e2a31346c70a7810 (patch)
treeea1230042e41ddec42a77d094d63358d72fe1f33 /apps/user_ldap/lib/Proxy.php
parent2c6bbe783a6ab0f75f9ad85d66d9b4511a7543be (diff)
downloadnextcloud-server-5fba0e562f1e9e7e53b28ce5e2a31346c70a7810.tar.gz
nextcloud-server-5fba0e562f1e9e7e53b28ce5e2a31346c70a7810.zip
Use query builder instead of OC_DB in user_ldap
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/user_ldap/lib/Proxy.php')
-rw-r--r--apps/user_ldap/lib/Proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Proxy.php b/apps/user_ldap/lib/Proxy.php
index 46cb2e6b9a0..e723c4e3abf 100644
--- a/apps/user_ldap/lib/Proxy.php
+++ b/apps/user_ldap/lib/Proxy.php
@@ -87,7 +87,7 @@ abstract class Proxy {
new Manager($ocConfig, $fs, $log, $avatarM, new \OCP\Image(),
$coreUserManager, $coreNotificationManager, $shareManager);
$connector = new Connection($this->ldap, $configPrefix);
- $access = new Access($connector, $this->ldap, $userManager, new Helper($ocConfig), $ocConfig, $coreUserManager);
+ $access = new Access($connector, $this->ldap, $userManager, new Helper($ocConfig, \OC::$server->getDatabaseConnection()), $ocConfig, $coreUserManager);
$access->setUserMapper($userMap);
$access->setGroupMapper($groupMap);
self::$accesses[$configPrefix] = $access;