Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-06 13:25:28 +0300
committerJoas Schilling <coding@schilljs.com>2020-11-06 13:25:28 +0300
commit5fba0e562f1e9e7e53b28ce5e2a31346c70a7810 (patch)
treeea1230042e41ddec42a77d094d63358d72fe1f33 /apps/user_ldap/lib/Jobs/Sync.php
parent2c6bbe783a6ab0f75f9ad85d66d9b4511a7543be (diff)
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/Jobs/Sync.php')
-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 483c21386eb..5c70c0c23b7 100644
--- a/apps/user_ldap/lib/Jobs/Sync.php
+++ b/apps/user_ldap/lib/Jobs/Sync.php
@@ -308,7 +308,7 @@ class Sync extends TimedJob {
if (isset($argument['helper'])) {
$this->ldapHelper = $argument['helper'];
} else {
- $this->ldapHelper = new Helper($this->config);
+ $this->ldapHelper = new Helper($this->config, \OC::$server->getDatabaseConnection());
}
if (isset($argument['ldapWrapper'])) {