You are here

function auditfiles_notindb in Audit Files 5

Same name and namespace in other branches
  1. 6.3 notindb.admin.inc \auditfiles_notindb()
  2. 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

./auditfiles.module, line 228

Code

function auditfiles_notindb() {

  // If delete action was selected then return confirmation form
  if ($_POST['operation'] == 'delete' && $_POST['files']) {
    return drupal_get_form('auditfiles_multiple_delete_confirm');
  }

  // Set page title
  drupal_set_title(t('Audit of files not in the database'));

  // Output results
  $output .= drupal_get_form('auditfiles_notindb_form');
  return $output;
}