function user_import_delete in User Import 7.3
Same name and namespace in other branches
- 8 user_import.admin.inc \user_import_delete()
- 5.2 user_import.module \user_import_delete()
- 5 user_import.module \user_import_delete()
- 6.4 user_import.admin.inc \user_import_delete()
- 6.2 user_import.admin.inc \user_import_delete()
- 7 user_import.admin.inc \user_import_delete()
- 7.2 user_import.admin.inc \user_import_delete()
2 calls to user_import_delete()
File
- ./
user_import.admin.inc, line 157 - Provide administration configuration pages to import users.
Code
function user_import_delete($import_id = NULL, $return_path = 'admin/people/user_import') {
if (empty($import_id) || !is_numeric($import_id)) {
drupal_goto($return_path);
}
$import = _user_import_settings_select($import_id);
_user_import_settings_deletion($import_id);
//_user_import_file_deletion($import['filepath'], $import['filename'], $import['oldfilename'], $import['ftp']);
file_unmanaged_delete($import['filepath']);
drupal_goto($return_path);
return;
}