From f8681506e0dc0a98fba2b547a0d8c6c270122ef8 Mon Sep 17 00:00:00 2001 From: Jeroen De Dauw Date: Mon, 19 Mar 2012 16:14:05 +0000 Subject: [PATCH] Follow up to r114081; address krinkles comment --- includes/specials/SpecialCachedPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.20.1