You are here

function user_import_delete in User Import 5

Same name and namespace in other branches
  1. 8 user_import.admin.inc \user_import_delete()
  2. 5.2 user_import.module \user_import_delete()
  3. 6.4 user_import.admin.inc \user_import_delete()
  4. 6.2 user_import.admin.inc \user_import_delete()
  5. 7.3 user_import.admin.inc \user_import_delete()
  6. 7 user_import.admin.inc \user_import_delete()
  7. 7.2 user_import.admin.inc \user_import_delete()
1 call to user_import_delete()
user_import_limited_delete in ./user_import.module
1 string reference to 'user_import_delete'
user_import_menu in ./user_import.module
Implementation of hook_menu().

File

./user_import.module, line 794
Import users from a comma separated file (csv).

Code

function user_import_delete($import_id = NULL, $return_path = 'admin/user/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['options']['ftp']);
  drupal_goto($return_path);
  return;
}