Access needs UserManager, missed to add in #8833

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2018-04-23 15:58:50 +02:00
parent 6b5132502e
commit ed5f53bd49
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,8 @@ $access = new \OCA\User_LDAP\Access(
$ldapWrapper, $ldapWrapper,
$userManager, $userManager,
new \OCA\User_LDAP\Helper(\OC::$server->getConfig()), 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); $wizard = new \OCA\User_LDAP\Wizard($configuration, $ldapWrapper, $access);

View File

@ -50,7 +50,6 @@ use OCA\User_LDAP\User\IUserTools;
use OCA\User_LDAP\User\Manager; use OCA\User_LDAP\User\Manager;
use OCA\User_LDAP\User\OfflineUser; use OCA\User_LDAP\User\OfflineUser;
use OCA\User_LDAP\Mapping\AbstractMapping; use OCA\User_LDAP\Mapping\AbstractMapping;
use OC\ServerNotAvailableException; use OC\ServerNotAvailableException;
use OCP\IConfig; use OCP\IConfig;
use OCP\IUserManager; use OCP\IUserManager;