function auditfiles_notindb in Audit Files 6.3
Same name and namespace in other branches
- 5 auditfiles.module \auditfiles_notindb()
- 6.2 notindb.admin.inc \auditfiles_notindb()
Menu callback: audit files not in the database.
1 string reference to 'auditfiles_notindb'
- auditfiles_menu in ./
auditfiles.module - Implementation of hook_menu().
File
- ./
notindb.admin.inc, line 12 - Callback and functions to generate files not in database report
Code
function auditfiles_notindb($form_state) {
// If delete action was selected, and files were checked, then return confirmation form
if ($form_state['values']['operation'] == 'delete' && array_filter($form_state['values']['files'])) {
return auditfiles_multiple_delete_confirm($form_state, array_filter($form_state['values']['files']));
}
// Otherwise retreive the form
$form['auditfiles_notindb'] = auditfiles_notindb_form();
// Return the form
return $form;
}