summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Jobs/Sync.php
diff options
context:
space:
mode:
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'])) {