Commit bdf01cdc authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #2919 Removed unused function from setupStep

parent 4dc69829
......@@ -115,22 +115,5 @@ class setupStep extends simplePlugin
$this->updateAttributesValues();
}
/* Establish ldap connection */
function get_ldap_link()
{
$cv = $this->parent->captured_values;
$ldap_l = new LDAP(
$cv['admin'],
$cv['password'],
$cv['connection'],
FALSE,
$cv['tls']
);
$ldap = new ldapMultiplexer($ldap_l);
$ldap->cd($cv['base']);
return $ldap;
}
}
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment