summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-23 15:58:50 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-23 15:58:50 +0200
commited5f53bd49cc739defefe2fce7e42579746ceed2 (patch)
tree95dd7cda7123259d903a583b28dbf40ea832d321 /apps/user_ldap
parent6b5132502e661e108a2862fa2ed631f88bc5e9dc (diff)
downloadnextcloud-server-ed5f53bd49cc739defefe2fce7e42579746ceed2.tar.gz
nextcloud-server-ed5f53bd49cc739defefe2fce7e42579746ceed2.zip
Access needs UserManager, missed to add in #8833
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/ajax/wizard.php3
-rw-r--r--apps/user_ldap/lib/Access.php1
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;