function _security_review_check_skipped in Security Review 7
Same name and namespace in other branches
- 6 security_review.module \_security_review_check_skipped()
Helper function creates message for reporting check skip information.
1 call to _security_review_check_skipped()
- security_review_check_help in ./
security_review.pages.inc - Page callback provides general help and check specific help documentation.
File
- ./
security_review.pages.inc, line 339 - security_review.pages.inc
Code
function _security_review_check_skipped($last_check) {
$users = user_load_multiple(array(
$last_check['skipuid'],
));
$account = array_pop($users);
$time = format_date($last_check['skiptime'], 'medium');
$message = t('Check marked for skipping on !time by !user', array(
'!time' => $time,
'!user' => theme('username', array(
'account' => $account,
)),
));
return $message;
}