You are here

function _security_review_check_skipped in Security Review 6

Same name and namespace in other branches
  1. 7 security_review.pages.inc \_security_review_check_skipped()

Helper function creates message for reporting check skip information.

15 calls to _security_review_check_skipped()
security_review_check_admin_permissions_help in ./security_review.help.inc
security_review_check_comments_help in ./security_review.help.inc
security_review_check_email_passwords_help in ./security_review.help.inc
security_review_check_error_reporting_help in ./security_review.help.inc
security_review_check_failed_logins_help in ./security_review.help.inc

... See full list

File

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

Code

function _security_review_check_skipped($last_check) {
  $account = user_load(array(
    'uid' => $last_check['skipuid'],
  ));
  $time = format_date($last_check['skiptime'], 'medium');
  $message = t('Check marked for skipping on !time by !user', array(
    '!time' => $time,
    '!user' => theme('username', $account),
  ));
  return $message;
}