ldap_help.install in Lightweight Directory Access Protocol (LDAP) 8.2
Same filename and directory in other branches
LDAP Help Install File
File
ldap_help/ldap_help.installView source
<?php
/**
* @file
* LDAP Help Install File
*/
/**
* Implements hook_uninstall().
*/
function ldap_help_uninstall() {
//$result = db_query('DELETE FROM {variables} WHERE name like "ldap_authentication_%"');
variable_del('ldap_help_watchdog_detail');
variable_del('ldap_help_user_data_clear');
variable_del('ldap_help_user_data_clear_set_date');
}
/**
* Converts default_file_main variable to config.
*
* @ingroup config_upgrade
*/
function ldap_help_update_8000() {
update_variables_to_config('ldap_help.settings', array(
'ldap_help_watchdog_detail' => 'watchdog_detail',
'ldap_help_user_data_clear' => 'user_data_clear',
'ldap_help_user_data_clear_set_date' => 'user_data_clear_set_date',
));
}
Functions
Name | Description |
---|---|
ldap_help_uninstall | Implements hook_uninstall(). |
ldap_help_update_8000 | Converts default_file_main variable to config. |