From ed5f53bd49cc739defefe2fce7e42579746ceed2 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 23 Apr 2018 15:58:50 +0200 Subject: [PATCH] Access needs UserManager, missed to add in #8833 Signed-off-by: Arthur Schiwon --- apps/user_ldap/ajax/wizard.php | 3 ++- apps/user_ldap/lib/Access.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/user_ldap/ajax/wizard.php b/apps/user_ldap/ajax/wizard.php index df178ac0a82..daee5ebf94d 100644 --- a/apps/user_ldap/ajax/wizard.php +++ b/apps/user_ldap/ajax/wizard.php @@ -69,7 +69,8 @@ $access = new \OCA\User_LDAP\Access( $ldapWrapper, $userManager, new \OCA\User_LDAP\Helper(\OC::$server->getConfig()), - \OC::$server->getConfig() + \OC::$server->getConfig(), + \OC::$server->getUserManager() ); $wizard = new \OCA\User_LDAP\Wizard($configuration, $ldapWrapper, $access); diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index 2395da1ec90..4736e365504 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -50,7 +50,6 @@ use OCA\User_LDAP\User\IUserTools; use OCA\User_LDAP\User\Manager; use OCA\User_LDAP\User\OfflineUser; use OCA\User_LDAP\Mapping\AbstractMapping; - use OC\ServerNotAvailableException; use OCP\IConfig; use OCP\IUserManager;