From bdf4bf46698f3239b9552e2e8cc30501bfc5a399 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 10 Oct 2016 10:18:18 +0200 Subject: DI IConfig into ldap helper Signed-off-by: Roeland Jago Douma --- apps/user_ldap/lib/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/user_ldap/lib/Connection.php') diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 07a595f0529..64c8b9675a3 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -87,7 +87,7 @@ class Connection extends LDAPUtility { if($memcache->isAvailable()) { $this->cache = $memcache->create(); } - $helper = new Helper(); + $helper = new Helper(\OC::$server->getConfig()); $this->doNotValidate = !in_array($this->configPrefix, $helper->getServerConfigurationPrefixes()); $this->hasPagedResultSupport = -- cgit v1.2.3