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/Command/SetConfig.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/Command/SetConfig.php')
-rw-r--r--apps/user_ldap/lib/Command/SetConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Command/SetConfig.php b/apps/user_ldap/lib/Command/SetConfig.php
index 2b2fdfe5c8b..4b20ad65e9f 100644
--- a/apps/user_ldap/lib/Command/SetConfig.php
+++ b/apps/user_ldap/lib/Command/SetConfig.php
@@ -60,7 +60,7 @@ class SetConfig extends Command {
}
protected function execute(InputInterface $input, OutputInterface $output): int {
- $helper = new Helper(\OC::$server->getConfig());
+ $helper = new Helper(\OC::$server->getConfig(), \OC::$server->getDatabaseConnection());
$availableConfigs = $helper->getServerConfigurationPrefixes();
$configID = $input->getArgument('configID');
if (!in_array($configID, $availableConfigs)) {