https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114147

Revision: 114147
Author:   jeroendedauw
Date:     2012-03-19 16:14:05 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
Follow up to r114081; address krinkles comment

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialCachedPage.php

Modified: trunk/phase3/includes/specials/SpecialCachedPage.php
===================================================================
--- trunk/phase3/includes/specials/SpecialCachedPage.php        2012-03-19 
15:25:22 UTC (rev 114146)
+++ trunk/phase3/includes/specials/SpecialCachedPage.php        2012-03-19 
16:14:05 UTC (rev 114147)
@@ -91,7 +91,7 @@
                        $refreshArgs
                );
 
-               if ( $this->cacheExpiry < 1000000000 ) {
+               if ( $this->cacheExpiry < 86400 * 3650 ) {
                        $message = $this->msg(
                                'cachedspecial-viewing-cached-ttl',
                                $this->getLanguage()->formatDuration( 
$this->cacheExpiry )


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to