From e400425bfc7968c472debe22f642e4a26c40185d Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Tue, 5 Apr 2011 10:44:07 +0000 Subject: [PATCH] Follow-up r85403: rm debugging code and a defunct method call. --- includes/OutputPage.php | 1 - maintenance/rebuildFileCache.php | 1 - 2 files changed, 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 821051e0d7..e135e072a6 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -221,7 +221,6 @@ class OutputPage { */ function __construct( RequestContext $context = null ) { if ( !isset($context) ) { -var_dump('foo'); # Extensions should use `new RequestContext` instead of `new OutputPage` now. wfDeprecated( __METHOD__ ); } diff --git a/maintenance/rebuildFileCache.php b/maintenance/rebuildFileCache.php index 01b7b1f52c..ddbd15ab84 100644 --- a/maintenance/rebuildFileCache.php +++ b/maintenance/rebuildFileCache.php @@ -80,7 +80,6 @@ class RebuildFileCache extends Maintenance { continue; // broken title? } $wgOut = $context->output; // set display title - $wgUser->getSkin( $wgTitle ); // set skin title $wgArticle = new Article( $wgTitle ); // If the article is cacheable, then load it if ( $wgArticle->isFileCacheable() ) { -- 2.20.1