From: Jeroen De Dauw Date: Mon, 19 Mar 2012 16:14:05 +0000 (+0000) Subject: Follow up to r114081; address krinkles comment X-Git-Tag: 1.31.0-rc.0~24200 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=f8681506e0dc0a98fba2b547a0d8c6c270122ef8;p=lhc%2Fweb%2Fwiklou.git Follow up to r114081; address krinkles comment --- diff --git a/includes/specials/SpecialCachedPage.php b/includes/specials/SpecialCachedPage.php index 9bac298cf6..9c1f88288c 100644 --- a/includes/specials/SpecialCachedPage.php +++ b/includes/specials/SpecialCachedPage.php @@ -91,7 +91,7 @@ abstract class SpecialCachedPage extends SpecialPage { $refreshArgs ); - if ( $this->cacheExpiry < 1000000000 ) { + if ( $this->cacheExpiry < 86400 * 3650 ) { $message = $this->msg( 'cachedspecial-viewing-cached-ttl', $this->getLanguage()->formatDuration( $this->cacheExpiry )