public function SiteAuditCheckDatabaseFragmentation::getAction in Site Audit 8.2
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Database/ Fragmentation.php, line 81 - Contains \SiteAudit\Check\Database\Fragmentation.
Class
- SiteAuditCheckDatabaseFragmentation
- Class SiteAuditCheckDatabaseFragmentation.
Code
public function getAction() {
if ($this
->getScore() == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
return dt('Run "OPTIMIZE TABLE" on the fragmented tables. Refer to https://dev.mysql.com/doc/en/optimize-table.html for more details.');
}
}