fix parameter order

This commit is contained in:
Arthur Schiwon 2014-03-31 10:48:49 +02:00
parent b0d1b2557c
commit e32fa3de4a

View file

@ -30,8 +30,8 @@ if(count($configPrefixes) === 1) {
$userManager = new OCA\user_ldap\lib\user\Manager($ocConfig,
new OCA\user_ldap\lib\FilesystemHelper(),
new OCA\user_ldap\lib\LogWrapper(),
new \OCP\Image(),
\OC::$server->getAvatarManager());
\OC::$server->getAvatarManager(),
new \OCP\Image());
$connector = new OCA\user_ldap\lib\Connection($ldapWrapper, $configPrefixes[0]);
$ldapAccess = new OCA\user_ldap\lib\Access($connector, $ldapWrapper, $userManager);
$userBackend = new OCA\user_ldap\USER_LDAP($ldapAccess);