Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -4788,7 +4788,7 @@ |
4789 | 4789 | function disableCache() { |
4790 | 4790 | wfDebug( "Parser output marked as uncacheable.\n" ); |
4791 | 4791 | $this->mOutput->setCacheTime( -1 ); // old style, for compatibility |
4792 | | - $this->mOutput->setCacheExpiry( 0 ); // new style, for consistency |
| 4792 | + $this->mOutput->updateCacheExpiry( 0 ); // new style, for consistency |
4793 | 4793 | } |
4794 | 4794 | |
4795 | 4795 | /**#@+ |