Implement factory for adapters used for dashlets and ldap.
This commit is contained in:
David Callizaya
2017-08-17 17:19:43 -04:00
parent 2e5c46d610
commit 1b8d210282
3 changed files with 116 additions and 88 deletions

View File

@@ -318,7 +318,7 @@ switch ($function) {
$sClassName = strtolower($aFields['AUTH_SOURCE_PROVIDER']);
$plugin = new $sClassName();
$plugin = G::factory($sClassName);
$aAuthSource = $RBAC->authSourcesObj->load($authSourceUid);