From: Neil Kandalgaonkar Date: Tue, 30 Nov 2010 04:47:00 +0000 (+0000) Subject: matching returns X-Git-Tag: 1.31.0-rc.0~33685 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=213f86972fa4f4aa0e929a838ae68df58ec8a3b8;p=lhc%2Fweb%2Fwiklou.git matching returns --- diff --git a/includes/specials/SpecialUploadStash.php b/includes/specials/SpecialUploadStash.php index 032c862cd8..f71dd22498 100644 --- a/includes/specials/SpecialUploadStash.php +++ b/includes/specials/SpecialUploadStash.php @@ -192,9 +192,8 @@ class SpecialUploadStash extends UnlistedSpecialPage { $scalerThumbName = $file->getParamThumbName( $file->name, $params ); $scalerThumbUrl = $wgUploadStashScalerBaseUrl . '/' . $file->getRel() . '/' . $scalerThumbName; - // make a CURL call to the scaler to create a thumbnail - wfDebug( "UploadStash: calling " . $scalerThumbUrl . " with curl \n" ); + // make a curl call to the scaler to create a thumbnail $httpOptions = array( 'method' => 'GET', 'timeout' => 'default' @@ -226,6 +225,7 @@ class SpecialUploadStash extends UnlistedSpecialPage { } self::outputHeaders( $file->getMimeType(), $file->getSize() ); readfile( $file->getPath() ); + return true; } /** @@ -241,6 +241,7 @@ class SpecialUploadStash extends UnlistedSpecialPage { } self::outputHeaders( $contentType, $size ); print $content; + return true; } /**