You are here

public function SiteAuditCheckDatabaseEngine::getAction in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Database/Engine.php \SiteAuditCheckDatabaseEngine::getAction()

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Database/Engine.php, line 80
Contains \SiteAudit\Check\Database\Engine.

Class

SiteAuditCheckDatabaseEngine
Class SiteAuditCheckDatabaseEngine.

Code

public function getAction() {
  if ($this->score != SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS) {
    return dt('Change the Storage Engine to InnoDB. See @url for details.', array(
      '@url' => 'http://dev.mysql.com/doc/refman/5.5/en/converting-tables-to-innodb.html',
    ));
  }
}