You are here

function security_review_skipped_checks in Security Review 6

Same name and namespace in other branches
  1. 7 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.module
security_review_settings in ./security_review.module
Module settings form.

File

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

Code

function security_review_skipped_checks() {
  $skipped = array();
  $sql = "SELECT namespace, reviewcheck, result, lastrun, skip, skiptime, skipuid FROM {security_review} WHERE skip = 1";
  $results = db_query($sql);
  while ($record = db_fetch_array($results)) {
    $skipped[$record['namespace']][$record['reviewcheck']] = $record;
  }
  return $skipped;
}