public function SiteAuditCheckCacheLifetime::getResultWarn in Site Audit 7
Implements \SiteAudit\Check\Abstract\getResultWarn().
Overrides SiteAuditCheckAbstract::getResultWarn
File
- Check/
Cache/ Lifetime.php, line 46 - Contains \SiteAudit\Check\Cache\Lifetime.
Class
- SiteAuditCheckCacheLifetime
- Class SiteAuditCheckCacheLifetime.
Code
public function getResultWarn() {
global $conf;
return dt('Minimum cache lifetime is set to @minutes min.', array(
'@minutes' => round($conf['cache_lifetime'] / 60),
));
}