disable client cache for 'you have new messages'
authorDomas Mituzas <midom@users.mediawiki.org>
Fri, 15 Oct 2004 09:57:23 +0000 (09:57 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Fri, 15 Oct 2004 09:57:23 +0000 (09:57 +0000)
includes/Skin.php

index 528e5c3..8f1cbfd 100644 (file)
@@ -586,6 +586,7 @@ class Skin {
                                $s.= ' | <strong>'. wfMsg( 'newmessages', $tl ) . '</strong>';
                                # disable caching
                                $wgOut->setSquidMaxage(0);
+                               $wgOut->enableClientCache(false);
                        }
                }