You are here

public function SiteAuditCheckCronEnabled::getResultInfo in Site Audit 7

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

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

Overrides SiteAuditCheckAbstract::getResultInfo

File

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

Class

SiteAuditCheckCronEnabled
Class SiteAuditCheckCronEnabled.

Code

public function getResultInfo() {
  if (module_exists('elysia_cron')) {
    return dt('Drupal Cron is disabled, but Elysia Cron is being used instead.');
  }
  if (module_exists('ultimate_cron')) {
    return dt('Drupal Cron is disabled, but Ultimate Cron is being used instead.');
  }
}