You are here

public function SiteAuditCheckCachePageExpire::getResultWarn in Site Audit 7

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

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

Overrides SiteAuditCheckAbstract::getResultWarn

File

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

Class

SiteAuditCheckCachePageExpire
Class SiteAuditCheckCachePageExpire.

Code

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