public function LdapTestFunctions::configureLdapServers in Lightweight Directory Access Protocol (LDAP) 7.2
Same name and namespace in other branches
- 8.2 ldap_test/LdapTestFunctions.class.php \LdapTestFunctions::configureLdapServers()
File
- ldap_test/
LdapTestFunctions.class.php, line 43
Class
Code
public function configureLdapServers($sids, $feetures = FALSE, $feature_name = NULL) {
foreach ($sids as $i => $sid) {
$current_sids[$sid] = $sid;
variable_set('ldap_test_server__' . $sid, $this->data['ldap_servers'][$sid]);
}
variable_set('ldap_test_servers', $current_sids);
}