function security_review_skipped_checks in Security Review 7
Same name and namespace in other branches
- 6 security_review.module \security_review_skipped_checks()
Helper function returns skipped checks.
3 calls to security_review_skipped_checks()
- security_review_drush in ./
security_review.drush.inc - Run checklist and display results command.
- security_review_run_form_submit in ./
security_review.pages.inc - security_review_settings in ./
security_review.pages.inc - Module settings form.
File
- ./
security_review.module, line 261 - Site security review and reporting Drupal module.
Code
function security_review_skipped_checks() {
$skipped = array();
$results = db_query("SELECT namespace, reviewcheck, result, lastrun, skip, skiptime, skipuid FROM {security_review} WHERE skip = 1");
while ($record = $results
->fetchAssoc()) {
$skipped[$record['namespace']][$record['reviewcheck']] = $record;
}
return $skipped;
}