From: Roan Kattouw Date: Tue, 1 Jun 2010 19:40:35 +0000 (+0000) Subject: Fix fatal in r67185 X-Git-Tag: 1.31.0-rc.0~36642 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=f354f69bc271a1e2c86764094362937d3b230cfe;p=lhc%2Fweb%2Fwiklou.git Fix fatal in r67185 --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index a54b8882ac..60f83e61ce 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -4788,7 +4788,7 @@ class Parser { function disableCache() { wfDebug( "Parser output marked as uncacheable.\n" ); $this->mOutput->setCacheTime( -1 ); // old style, for compatibility - $this->mOutput->setCacheExpiry( 0 ); // new style, for consistency + $this->mOutput->updateCacheExpiry( 0 ); // new style, for consistency } /**#@+