Use 7*24*3600 instead of 604800.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 2 Oct 2010 23:23:10 +0000 (23:23 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 2 Oct 2010 23:23:10 +0000 (23:23 +0000)
Addressing style nitpick by Simetrical on r71412.

includes/MessageCache.php

index 69379bc..b0fa51f 100644 (file)
@@ -52,7 +52,7 @@ class MessageCache {
         * better sample, but also takes longer to adapt changes. The counts
         * are aggregrated per day, regardless of the value of this variable.
         */
-       protected static $mAdaptiveDataAge = 604800;
+       protected static $mAdaptiveDataAge = 7*24*3600;
 
        /**
         * Filter the tail of less used messages that are requested more seldom