Index: trunk/phase3/index.php |
— | — | @@ -130,14 +130,14 @@ |
131 | 131 | $cache = new HTMLFileCache( $wgTitle, $action ); |
132 | 132 | if ( $cache->isFileCacheGood( /* Assume up to date */ ) ) { |
133 | 133 | /* Check incoming headers to see if client has this cached */ |
134 | | - if ( !$context->output->checkLastModified( $cache->fileCacheTime() ) ) { |
| 134 | + if ( !$context->getOutput()->checkLastModified( $cache->fileCacheTime() ) ) { |
135 | 135 | $cache->loadFromFileCache(); |
136 | 136 | } |
137 | 137 | # Do any stats increment/watchlist stuff |
138 | 138 | $article = Article::newFromTitle( $wgTitle, $context ); |
139 | 139 | $article->viewUpdates(); |
140 | 140 | # Tell OutputPage that output is taken care of |
141 | | - $context->output->disable(); |
| 141 | + $context->getOutput()->disable(); |
142 | 142 | wfProfileOut( 'index.php-filecache' ); |
143 | 143 | $mediaWiki->finalCleanup(); |
144 | 144 | wfProfileOut( 'index.php' ); |