You are here

function search_files_helper_confirm_delete in Search Files 5

Same name and namespace in other branches
  1. 6.2 search_files.module \search_files_helper_confirm_delete()

check to make sure the $helper_id is valid (a number greater than zero) then it fetches the deletion confirmation form, then returns it

Return value

(array) $form

1 string reference to 'search_files_helper_confirm_delete'
search_files_menu in ./search_files.module
Implementation of hook_menu()

File

./search_files.module, line 432
Used to index all files in directory(s) on the server

Code

function search_files_helper_confirm_delete() {
  $helper_id = arg(5);
  if ($helper_id > 0 && is_numeric($helper_id)) {
    return drupal_get_form('search_files_helper_confirm_delete_form', 'nnn', $helper_id);
  }
}