You are here

public function SiteAuditCheckCachePageExpire::getResultPass in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Check/Cache/PageExpire.php \SiteAuditCheckCachePageExpire::getResultPass()

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

Overrides SiteAuditCheckAbstract::getResultPass

File

Check/Cache/PageExpire.php, line 43
Contains \SiteAudit\Check\Cache\PageExpire.

Class

SiteAuditCheckCachePageExpire
Class SiteAuditCheckCachePageExpire.

Code

public function getResultPass() {
  global $conf;
  return dt('Expiration of cached pages is set to @minutes min.', array(
    '@minutes' => round($conf['page_cache_maximum_age'] / 60),
  ));
}