Use proper namespaces - fixes #25078 (#25079)

This commit is contained in:
Thomas Müller 2016-06-13 19:32:54 +02:00 committed by GitHub
parent 3840466f9a
commit 990ac34aaa
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ namespace OCA\User_LDAP;
use OCA\User_LDAP\Mapping\UserMapping;
use OCA\User_LDAP\Mapping\GroupMapping;
use OCA\User_LDAP\User\Manager;
abstract class Proxy {
static private $accesses = array();
@ -72,7 +73,7 @@ abstract class Proxy {
$coreUserManager = \OC::$server->getUserManager();
}
$userManager =
new user\Manager($ocConfig, $fs, $log, $avatarM, new \OCP\Image(), $db, $coreUserManager);
new Manager($ocConfig, $fs, $log, $avatarM, new \OCP\Image(), $db, $coreUserManager);
$connector = new Connection($this->ldap, $configPrefix);
$access = new Access($connector, $this->ldap, $userManager);
$access->setUserMapper($userMap);