You are here

public function SiteAuditCheckCronEnabled::getAction in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Cron/Enabled.php \SiteAuditCheckCronEnabled::getAction()

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

Overrides SiteAuditCheckAbstract::getAction

File

Check/Cron/Enabled.php, line 67
Contains \SiteAudit\Check\Cron\Enabled.

Class

SiteAuditCheckCronEnabled
Class SiteAuditCheckCronEnabled.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_FAIL) {
    return dt('Please visit /admin/config/system/cron and set the cron frequency to something other than Never.');
  }
}