You are here

public function SiteAuditCheckBestPracticesSitesSuperfluous::getAction in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Check/BestPractices/SitesSuperfluous.php \SiteAuditCheckBestPracticesSitesSuperfluous::getAction()

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/BestPractices/SitesSuperfluous.php, line 55
Contains \SiteAudit\Check\BestPractices\SitesSuperfluous.

Class

SiteAuditCheckBestPracticesSitesSuperfluous
Class SiteAuditCheckBestPracticesSitesSuperfluous.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
    return dt('Unless you have an explicit need for it, don\'t store anything other than settings here.');
  }
}