function _security_review_batch_op in Security Review 6
Same name and namespace in other branches
- 7 security_review.module \_security_review_batch_op()
Operation function called by Batch.
1 string reference to '_security_review_batch_op'
File
- ./
security_review.module, line 360 - 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, TRUE);
if (!empty($check_result)) {
$context['results'][$module][$check_name] = $check_result;
}
}