http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89934
Revision: 89934
Author: ialex
Date: 2011-06-12 19:09:14 +0000 (Sun, 12 Jun 2011)
Log Message:
-----------
Changed some magic __get method calls to accessors, were throwing notices
Modified Paths:
--------------
trunk/phase3/index.php
Modified: trunk/phase3/index.php
===================================================================
--- trunk/phase3/index.php 2011-06-12 18:58:46 UTC (rev 89933)
+++ trunk/phase3/index.php 2011-06-12 19:09:14 UTC (rev 89934)
@@ -130,14 +130,14 @@
$cache = new HTMLFileCache( $wgTitle, $action );
if ( $cache->isFileCacheGood( /* Assume up to date */ )
) {
/* Check incoming headers to see if client has
this cached */
- if ( !$context->output->checkLastModified(
$cache->fileCacheTime() ) ) {
+ if ( !$context->getOutput()->checkLastModified(
$cache->fileCacheTime() ) ) {
$cache->loadFromFileCache();
}
# Do any stats increment/watchlist stuff
$article = Article::newFromTitle( $wgTitle,
$context );
$article->viewUpdates();
# Tell OutputPage that output is taken care of
- $context->output->disable();
+ $context->getOutput()->disable();
wfProfileOut( 'index.php-filecache' );
$mediaWiki->finalCleanup();
wfProfileOut( 'index.php' );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs