function search_files_directory_confirm_delete in Search Files 5
check to make sure the directory the user wants to delete is a valid directory id number, then call the function to generate the confirmation form
Return value
$output = html of the form
1 string reference to 'search_files_directory_confirm_delete'
- search_files_menu in ./
search_files.module  - Implementation of hook_menu()
 
File
- ./
search_files.module, line 248  - Used to index all files in directory(s) on the server
 
Code
function search_files_directory_confirm_delete() {
  $directory_id = arg(5);
  if ($directory_id > 0 && is_numeric($directory_id)) {
    return drupal_get_form('search_files_directory_confirm_delete_form', $directory_id);
  }
}