public function SiteAuditCheckExtensionsDuplicate::getAction in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/Extensions/Duplicate.php \SiteAuditCheckExtensionsDuplicate::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Extensions/ Duplicate.php, line 88 - Contains \SiteAudit\Check\Extensions\Duplicate.
Class
- SiteAuditCheckExtensionsDuplicate
- Class SiteAuditCheckExtensionsDuplicate.
Code
public function getAction() {
if ($this->score != SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS) {
return dt('Prune your codebase to have only one copy of any given extension.');
}
}