Follow-up r85403: rm debugging code and a defunct method call.
authorHappy-melon <happy-melon@users.mediawiki.org>
Tue, 5 Apr 2011 10:44:07 +0000 (10:44 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Tue, 5 Apr 2011 10:44:07 +0000 (10:44 +0000)
includes/OutputPage.php
maintenance/rebuildFileCache.php

index 821051e..e135e07 100644 (file)
@@ -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__ );
                }
index 01b7b1f..ddbd15a 100644 (file)
@@ -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() ) {