r53300 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53299‎ | r53300 | r53301 >
Date:09:40, 15 July 2009
Author:catrope
Status:ok
Tags:
Comment:
(bug 19728) Use wfDebug() instead of print for debugging in UploadBase.php . Patch by OverlordQ
Modified paths:
  • /trunk/phase3/includes/upload/UploadBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/upload/UploadBase.php
@@ -64,7 +64,7 @@
6565
6666 $type = ucfirst($type);
6767 $className = 'UploadFrom'.$type;
68 - print "class name: $className";
 68+ wfDebug( __METHOD__.": class name: $className");
6969 if( !in_array( $type, self::$uploadHandlers ) )
7070 return null;
7171

Status & tagging log