You are here

public function SiteAuditCheckCronRunning::getResultInfo in Site Audit 7

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

Overrides SiteAuditCheckAbstract::getResultInfo

File

Check/Cron/Running.php, line 34
Contains \SiteAudit\Check\Cron\Running.

Class

SiteAuditCheckCronRunning
Class SiteAuditCheckCronRunning.

Code

public function getResultInfo() {
  if ($this->registry['cron_semaphore']) {
    return dt('Cron lock was set @cron_semaphore.', array(
      '@cron_semaphore' => date('r', $this->registry['cron_semaphore']),
    ));
  }
  return dt('Cron is not currently running.');
}