You are here

public function SiteAuditCheckWatchdogPhp::getAction in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Watchdog/Php.php \SiteAuditCheckWatchdogPhp::getAction()

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Watchdog/Php.php, line 61
Contains \SiteAudit\Check\Watchdog\Php.

Class

SiteAuditCheckWatchdogPhp
Class SiteAuditCheckWatchdogPhp.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
    return dt('Every time Drupal logs a PHP notice, warning or error, PHP executes slower and the writing operation locks the database. By eliminating the problems, your site will be faster.');
  }
}