http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100194
Revision: 100194
Author: aaron
Date: 2011-10-19 00:38:09 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
Removed more dead code
Modified Paths:
--------------
trunk/tools/upload-scripts/thumb-handler.php
Modified: trunk/tools/upload-scripts/thumb-handler.php
===================================================================
--- trunk/tools/upload-scripts/thumb-handler.php 2011-10-19 00:29:42 UTC
(rev 100193)
+++ trunk/tools/upload-scripts/thumb-handler.php 2011-10-19 00:38:09 UTC
(rev 100194)
@@ -82,13 +82,6 @@
exit;
}
-/* Breaks SVG and ogg
-if ( $filename != $fn2 ) {
- require_once( '404.php' );
- exit;
-}
-*/
-
# Determine hostname
if ( $site == 'wikipedia' ) {
switch ( $lang ) {
@@ -213,5 +206,7 @@
} else {
header( "Content-Type: $contentType" );
}
+
print $text;
+
curl_close( $ch );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs