function user_import_uninstall in User Import 7.2
Same name and namespace in other branches
- 8 user_import.install \user_import_uninstall()
- 5.2 user_import.install \user_import_uninstall()
- 5 user_import.install \user_import_uninstall()
- 6.4 user_import.install \user_import_uninstall()
- 6.2 user_import.install \user_import_uninstall()
- 7.3 user_import.install \user_import_uninstall()
- 7 user_import.install \user_import_uninstall()
Implementation of hook_uninstall().
File
- ./
user_import.install, line 164 - Import and update users from a comma separated file (csv).
Code
function user_import_uninstall() {
variable_del('user_import_settings');
variable_del('user_import_max');
variable_del('user_import_line_max');
variable_del('user_export_checked_usernames');
variable_del('user_import_profile_date_format');
//
$mail_system = variable_get('mail_system', array(
'default-system' => 'DefaultMailSystem',
));
unset($mail_system['user_import']);
variable_set('mail_system', $mail_system);
}