http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73929

Revision: 73929
Author:   kaldari
Date:     2010-09-28 23:31:22 +0000 (Tue, 28 Sep 2010)

Log Message:
-----------
restoring 2 hour cache for BannerController, see r73830

Modified Paths:
--------------
    trunk/extensions/CentralNotice/SpecialBannerController.php

Modified: trunk/extensions/CentralNotice/SpecialBannerController.php
===================================================================
--- trunk/extensions/CentralNotice/SpecialBannerController.php  2010-09-28 
22:19:20 UTC (rev 73928)
+++ trunk/extensions/CentralNotice/SpecialBannerController.php  2010-09-28 
23:31:22 UTC (rev 73929)
@@ -4,8 +4,8 @@
  * Generates Javascript file which controls banner selection on the client side
  */
 class SpecialBannerController extends UnlistedSpecialPage {
-       protected $sharedMaxAge = 3600; // Cache for 1 hours on the server side
-       protected $maxAge = 3600; // Cache for 1 hours on the client side
+       protected $sharedMaxAge = 7200; // Cache for 2 hours on the server side
+       protected $maxAge = 7200; // Cache for 2 hours on the client side
 
        function __construct() {
                // Register special page



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

Reply via email to