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/appinfo/register_command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/user_ldap/appinfo/register_command.php') diff --git a/apps/user_ldap/appinfo/register_command.php b/apps/user_ldap/appinfo/register_command.php index 59e2dca565f..41083f8d12a 100644 --- a/apps/user_ldap/appinfo/register_command.php +++ b/apps/user_ldap/appinfo/register_command.php @@ -30,7 +30,7 @@ use OCA\User_LDAP\User\DeletedUsersIndex; $dbConnection = \OC::$server->getDatabaseConnection(); $userMapping = new UserMapping($dbConnection); -$helper = new Helper(); +$helper = new Helper(\OC::$server->getConfig()); $ocConfig = \OC::$server->getConfig(); $uBackend = new User_Proxy( $helper->getServerConfigurationPrefixes(true), -- cgit v1.2.3