Merge "Remove wfDebug() from Revision::loadText()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 10 May 2016 12:26:55 +0000 (12:26 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 10 May 2016 12:26:55 +0000 (12:26 +0000)
includes/filerepo/file/File.php
includes/interwiki/Interwiki.php

index c037516..8175b58 100644 (file)
@@ -1065,7 +1065,6 @@ abstract class File implements IDBAccessObject {
                        if ( $this->repo ) {
                                // Defer rendering if a 404 handler is set up...
                                if ( $this->repo->canTransformVia404() && !( $flags & self::RENDER_NOW ) ) {
-                                       wfDebug( __METHOD__ . " transformation deferred.\n" );
                                        // XXX: Pass in the storage path even though we are not rendering anything
                                        // and the path is supposed to be an FS path. This is due to getScalerType()
                                        // getting called on the path and clobbering $thumb->getUrl() if it's false.
index f68651b..5a0dd36 100644 (file)
@@ -171,7 +171,6 @@ class Interwiki {
                global $wgInterwikiScopes, $wgInterwikiFallbackSite;
                static $site;
 
-               wfDebug( __METHOD__ . "( $prefix )\n" );
                $value = false;
                try {
                        // Resolve site name