You are here

function _auditfiles_managed_not_used_batch_display_get_operations in Audit Files 7.3

Same name and namespace in other branches
  1. 7.4 auditfiles.managednotused.inc \_auditfiles_managed_not_used_batch_display_get_operations()

Configures the operations for the batch process.

Return value

array The operations to execute.

1 call to _auditfiles_managed_not_used_batch_display_get_operations()
_auditfiles_managed_not_used_batch_display_create_batch in ./auditfiles.managednotused.inc
Prepares the definition for the page display batch.

File

./auditfiles.managednotused.inc, line 242
Generates a report showing files in file_managed, but not in file_usage.

Code

function _auditfiles_managed_not_used_batch_display_get_operations() {
  $operations = array();
  $operations[] = array(
    '_auditfiles_managed_not_used_batch_display_get_files',
    array(),
  );
  $operations[] = array(
    '_auditfiles_managed_not_used_batch_display_process_files',
    array(
      variable_get('auditfiles_report_options_date_format', 'long'),
    ),
  );
  return $operations;
}