You are here

function _security_review_batch_op in Security Review 7

Same name and namespace in other branches
  1. 6 security_review.module \_security_review_batch_op()

Operation function called by Batch.

1 string reference to '_security_review_batch_op'
security_review_run_form_submit in ./security_review.pages.inc

File

./security_review.module, line 227
Site security review and reporting Drupal module.

Code

function _security_review_batch_op($module, $check_name, $check, $log, &$context) {
  module_load_include('inc', 'security_review');
  $context['message'] = $check['title'];

  // Run the check.
  $check_result = _security_review_run_check($module, $check_name, $check, $log);
  if (!empty($check_result)) {
    $context['results'][$module][$check_name] = $check_result;
  }
}