summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Wizard.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-10-10 10:18:18 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-10-10 10:18:18 +0200
commitbdf4bf46698f3239b9552e2e8cc30501bfc5a399 (patch)
treebfaf2222aa0497ad5a9ec8f7933d387bb9692533 /apps/user_ldap/lib/Wizard.php
parent1ba2b7e5d4d787c64d07ddbf8bfa1efd74cccaa9 (diff)
downloadnextcloud-server-bdf4bf46698f3239b9552e2e8cc30501bfc5a399.tar.gz
nextcloud-server-bdf4bf46698f3239b9552e2e8cc30501bfc5a399.zip
DI IConfig into ldap helper
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/user_ldap/lib/Wizard.php')
-rw-r--r--apps/user_ldap/lib/Wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Wizard.php b/apps/user_ldap/lib/Wizard.php
index 852c806b104..cdc98c72cde 100644
--- a/apps/user_ldap/lib/Wizard.php
+++ b/apps/user_ldap/lib/Wizard.php
@@ -724,7 +724,7 @@ class Wizard extends LDAPUtility {
//this did not help :(
//Let's see whether we can parse the Host URL and convert the domain to
//a base DN
- $helper = new Helper();
+ $helper = new Helper(\OC::$server->getConfig());
$domain = $helper->getDomainFromURL($this->configuration->ldapHost);
if(!$domain) {
return false;