From f354f69bc271a1e2c86764094362937d3b230cfe Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 1 Jun 2010 19:40:35 +0000 Subject: [PATCH] Fix fatal in r67185 --- includes/parser/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } /**#@+ -- 2.20.1