r100194 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100193‎ | r100194 | r100195 >
Date:00:38, 19 October 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed more dead code
Modified paths:
  • /trunk/tools/upload-scripts/thumb-handler.php (modified) (history)

Diff [purge]

Index: trunk/tools/upload-scripts/thumb-handler.php
@@ -82,13 +82,6 @@
8383 exit;
8484 }
8585
86 -/* Breaks SVG and ogg
87 -if ( $filename != $fn2 ) {
88 - require_once( '404.php' );
89 - exit;
90 -}
91 -*/
92 -
9386 # Determine hostname
9487 if ( $site == 'wikipedia' ) {
9588 switch ( $lang ) {
@@ -213,5 +206,7 @@
214207 } else {
215208 header( "Content-Type: $contentType" );
216209 }
 210+
217211 print $text;
 212+
218213 curl_close( $ch );

Status & tagging log