Fix fatal in r67185
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 1 Jun 2010 19:40:35 +0000 (19:40 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 1 Jun 2010 19:40:35 +0000 (19:40 +0000)
includes/parser/Parser.php

index a54b888..60f83e6 100644 (file)
@@ -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
        }
 
        /**#@+