You are here

public function SiteAuditCheckSecurityFilePerms::getResultFail in Security Review 7

Implements \SiteAudit\Check\Abstract\getResultWarn().

Overrides SecurityReviewSiteAuditCheckAbstract::getResultFail

File

./security_review.site_audit.inc, line 137
Contains \SiteAudit\Check\Security security_review checks.

Class

SiteAuditCheckSecurityFilePerms

Code

public function getResultFail() {
  if (drush_get_option('detail')) {
    return parent::getResultFail();
  }
  return $this->registry[$this->module][$this->check]['failure'];
}