From 55662971ca693bd065c700fd6d308e81c8be75c4 Mon Sep 17 00:00:00 2001 From: Jan Gerber Date: Tue, 27 Dec 2011 04:49:08 +0000 Subject: [PATCH] update mLocalFile in concatenateChunks to make chunk upload work with recent filerepo changes Follow up r104687 --- includes/upload/UploadFromChunks.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/upload/UploadFromChunks.php b/includes/upload/UploadFromChunks.php index 651b2a3dc3..993446b4d9 100644 --- a/includes/upload/UploadFromChunks.php +++ b/includes/upload/UploadFromChunks.php @@ -107,8 +107,11 @@ class UploadFromChunks extends UploadFromFile { if( !$status->isOk() ){ return $status; } - // Update the mTempPath variable ( for FileUpload or normal Stash to take over ) + // Update the mTempPath and mLocalFile + // ( for FileUpload or normal Stash to take over ) $this->mTempPath = $tmpPath; // file system path + $this->mLocalFile = parent::stashFile(); + return $status; } -- 2.20.1