From: Happy-melon Date: Tue, 5 Apr 2011 10:44:07 +0000 (+0000) Subject: Follow-up r85403: rm debugging code and a defunct method call. X-Git-Tag: 1.31.0-rc.0~31010 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=e400425bfc7968c472debe22f642e4a26c40185d;p=lhc%2Fweb%2Fwiklou.git Follow-up r85403: rm debugging code and a defunct method call. --- 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() ) {