Skip to content
Snippets Groups Projects
Commit 89f26915 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

adjust access constructor to master

parent 452efa5f
Branches
No related tags found
No related merge requests found
......@@ -835,7 +835,7 @@ class Access extends LDAPUtility implements user\IUserTools {
\OCP\Util::writeLog('user_ldap', 'Count filter: '.print_r($filter, true), \OCP\Util::DEBUG);
if(is_null($limit)) {
$limit = $this->connection->ldapPagingSize;
$limit = intval($this->connection->ldapPagingSize);
}
$counter = 0;
......
......@@ -1107,7 +1107,15 @@ class Wizard extends LDAPUtility {
$con->setConfiguration($this->configuration->getConfiguration());
$con->ldapConfigurationActive = true;
$con->setIgnoreValidation(true);
$ldapAccess = new Access($con, $this->ldap);
$userManager = new user\Manager(
\OC::$server->getConfig(),
new FilesystemHelper(),
new LogWrapper(),
\OC::$server->getAvatarManager(),
new \OCP\Image());
$ldapAccess = new Access($con, $this->ldap, $userManager);
return $ldapAccess;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment