You are here

public function SiteAuditCheckExtensionsMissing::getAction in Site Audit 7

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Extensions/Missing.php, line 55
Contains \SiteAudit\Check\Extensions\Missing.

Class

SiteAuditCheckExtensionsMissing
Class SiteAuditCheckExtensionsMissing.

Code

public function getAction() {
  if ($this->score != SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS) {
    return dt('Download the extensions to your codebase, disable, uninstall, then remove the code.');
  }
}