function simple_ldap_configured in Simple LDAP 7.2
Same name and namespace in other branches
- 7 simple_ldap.module \simple_ldap_configured()
Returns whether simple_ldap has been configured.
1 call to simple_ldap_configured()
- simple_ldap_requirements in ./
simple_ldap.install - Implements hook_requirements().
File
- ./
simple_ldap.module, line 115 - Main simple_ldap module file.
Code
function simple_ldap_configured() {
$configured = TRUE;
// Check each of the required configuration items.
$configured = $configured && variable_get('simple_ldap_host') !== NULL;
$configured = $configured && variable_get('simple_ldap_port') !== NULL;
return $configured;
}