function imce_uninstall in IMCE 7
Same name and namespace in other branches
- 6.2 imce.install \imce_uninstall()
- 6 imce.install \imce_uninstall()
Implements hook_uninstall().
File
- ./
imce.install, line 19 - Installs, updates, and uninstalls IMCE.
Code
function imce_uninstall() {
db_delete('file_usage')
->condition('module', 'imce')
->execute();
variable_del('imce_profiles');
variable_del('imce_roles_profiles');
variable_del('imce_settings_textarea');
variable_del('imce_settings_absurls');
variable_del('imce_settings_replace');
variable_del('imce_settings_thumb_method');
variable_del('imce_settings_disable_private');
variable_del('imce_settings_admin_theme');
variable_del('imce_custom_content');
variable_del('imce_custom_process');
variable_del('imce_custom_init');
variable_del('imce_custom_scan');
variable_del('imce_custom_response');
}