Merge pull request #9278 from nextcloud/bug/noid/ldap-wizard-newaccess

Access needs UserManager, missed to add in #8833
pull/9284/head
Morris Jobke 7 years ago committed by GitHub
commit 83b0ce0955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      apps/user_ldap/ajax/wizard.php
  2. 1
      apps/user_ldap/lib/Access.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);

@ -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;

Loading…
Cancel
Save