LdapUserGroupBackend: We need a datasource, actually

Forgot to add this when disabling LdapRepository inheritance...

refs #7343
This commit is contained in:
Johannes Meyer 2015-06-03 16:40:14 +02:00
parent d9eb8f9e8d
commit 90d946f149
1 changed files with 17 additions and 0 deletions

View File

@ -99,6 +99,23 @@ class LdapUserGroupBackend /*extends LdapRepository*/ implements UserGroupBacken
*/
protected $name;
/**
* The datasource being used
*
* @var Connection
*/
protected $ds;
/**
* Create a new LDAP repository object
*
* @param Connection $ds The data source to use
*/
public function __construct($ds)
{
$this->ds = $ds;
}
/**
* Return the given attribute name normed to known LDAP enviroments, if possible
*