X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fupload%2FUploadFromChunks.php;h=c28890baa177188d84a8b8c3f154904671c3d067;hb=748c5eae2fd5d897c94c48771161c259941a7488;hp=8c6b2f9c05a8f613e6dcbbc3b72cdf800cb175d5;hpb=b7b9cea32981e9bc1425b771b910b7f2ba1d0bde;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/upload/UploadFromChunks.php b/includes/upload/UploadFromChunks.php index 8c6b2f9c05..c28890baa1 100644 --- a/includes/upload/UploadFromChunks.php +++ b/includes/upload/UploadFromChunks.php @@ -161,7 +161,7 @@ class UploadFromChunks extends UploadFromFile { $ext = FileBackend::extensionFromPath( $this->mVirtualTempPath ); // Get a 0-byte temp file to perform the concatenation at $tmpFile = MediaWikiServices::getInstance()->getTempFSFileFactory() - ->getTempFSFile( 'chunkedupload_', $ext ); + ->newTempFSFile( 'chunkedupload_', $ext ); $tmpPath = false; // fail in concatenate() if ( $tmpFile ) { // keep alive with $this