public function SiteAuditCheckExtensionsDuplicate::getAction in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Extensions/Duplicate.php \SiteAuditCheckExtensionsDuplicate::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Extensions/ Duplicate.php, line 93 - 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. If you are using an installation profile, work with the maintainer to update the relevant modules. If you remove an enabled module, you may have to rebuild the registry.');
}
}