From: Tim Starling Date: Sun, 6 Jun 2004 14:05:51 +0000 (+0000) Subject: update cur_touched on action=purge X-Git-Tag: 1.5.0alpha1~3013 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=c1f1a87ab6f780901bd905bb83689aed15a2b6c3;p=lhc%2Fweb%2Fwiklou.git update cur_touched on action=purge --- diff --git a/index.php b/index.php index 97a7f1237e..f980599bfd 100644 --- a/index.php +++ b/index.php @@ -151,6 +151,7 @@ if ( $search = $wgRequest->getText( 'search' ) ) { case "purge": wfPurgeSquidServers(array($wgTitle->getInternalURL())); $wgOut->setSquidMaxage( $wgSquidMaxage ); + $wgTitle->invalidateCache(); $wgArticle->view(); break; default: