function ldap_help_watchdog_detail_submit in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_help/ldap_help.module \ldap_help_watchdog_detail_submit()
- 7.2 ldap_help/ldap_help.module \ldap_help_watchdog_detail_submit()
1 string reference to 'ldap_help_watchdog_detail_submit'
File
- ldap_help/
ldap_help.module, line 84 - The ldaphelp module is a module to help admins debug ldap_integration modules.
Code
function ldap_help_watchdog_detail_submit($form, &$form_state) {
if ($form_state['submitted']) {
$watchdog_detail = $form_state['values']['watchdog_detail'];
if ($watchdog_detail != variable_get('ldap_help_watchdog_detail', 0)) {
variable_set('ldap_help_watchdog_detail', $watchdog_detail);
}
}
}