diff options
author | Joas Schilling <coding@schilljs.com> | 2020-11-06 11:25:28 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-11-06 11:25:28 +0100 |
commit | 5fba0e562f1e9e7e53b28ce5e2a31346c70a7810 (patch) | |
tree | ea1230042e41ddec42a77d094d63358d72fe1f33 /apps/user_ldap/appinfo | |
parent | 2c6bbe783a6ab0f75f9ad85d66d9b4511a7543be (diff) | |
download | nextcloud-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/appinfo')
-rw-r--r-- | apps/user_ldap/appinfo/install.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/appinfo/update.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/appinfo/install.php b/apps/user_ldap/appinfo/install.php index 7dec03ffab0..731630000de 100644 --- a/apps/user_ldap/appinfo/install.php +++ b/apps/user_ldap/appinfo/install.php @@ -29,5 +29,5 @@ if ($state === 'doSet') { \OC::$server->getConfig()->setSystemValue('ldapIgnoreNamingRules', false); } -$helper = new \OCA\User_LDAP\Helper($config); +$helper = new \OCA\User_LDAP\Helper($config, \OC::$server->getDatabaseConnection()); $helper->setLDAPProvider(); diff --git a/apps/user_ldap/appinfo/update.php b/apps/user_ldap/appinfo/update.php index 035fecba1f8..8fed2988096 100644 --- a/apps/user_ldap/appinfo/update.php +++ b/apps/user_ldap/appinfo/update.php @@ -23,5 +23,5 @@ * */ -$helper = new \OCA\User_LDAP\Helper(\OC::$server->getConfig()); +$helper = new \OCA\User_LDAP\Helper(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection()); $helper->setLDAPProvider(); |