From: Domas Mituzas Date: Fri, 15 Oct 2004 09:57:23 +0000 (+0000) Subject: disable client cache for 'you have new messages' X-Git-Tag: 1.5.0alpha1~1537 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=7239a46224401531baf5e2a1c4f3fbb8ef762348;p=lhc%2Fweb%2Fwiklou.git disable client cache for 'you have new messages' --- diff --git a/includes/Skin.php b/includes/Skin.php index 528e5c3c19..8f1cbfd276 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -586,6 +586,7 @@ class Skin { $s.= ' | '. wfMsg( 'newmessages', $tl ) . ''; # disable caching $wgOut->setSquidMaxage(0); + $wgOut->enableClientCache(false); } }