function security_review_get_checks in Security Review 6
Helper function allows for collection of this file's security checks.
1 call to security_review_get_checks()
- security_review_security_checks in ./
security_review.module - Implementation of hook_security_checks().
File
- ./
security_review.inc, line 876 - Stand-alone security checks and review system.
Code
function security_review_get_checks() {
$checks = _security_review_security_checks();
if (module_exists('filefield') && function_exists('filefield_get_field_list')) {
$filefield = _filefield_security_checks();
$checks = array_merge($checks, $filefield);
}
if (module_exists('views') && function_exists('views_get_all_views')) {
$views = _views_security_checks();
$checks = array_merge($checks, $views);
}
return $checks;
}