diff options
Diffstat (limited to 'apps/user_ldap/lib/Command/SetConfig.php')
-rw-r--r-- | apps/user_ldap/lib/Command/SetConfig.php | 2 |
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 a1d5e90f3ed..5188bee1049 100644 --- a/apps/user_ldap/lib/Command/SetConfig.php +++ b/apps/user_ldap/lib/Command/SetConfig.php @@ -57,7 +57,7 @@ class SetConfig extends Command { } protected function execute(InputInterface $input, OutputInterface $output) { - $helper = new Helper(); + $helper = new Helper(\OC::$server->getConfig()); $availableConfigs = $helper->getServerConfigurationPrefixes(); $configID = $input->getArgument('configID'); if(!in_array($configID, $availableConfigs)) { |