From: Jan Gerber Date: Tue, 27 Dec 2011 04:49:08 +0000 (+0000) Subject: update mLocalFile in concatenateChunks to make chunk upload X-Git-Tag: 1.31.0-rc.0~25725 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=55662971ca693bd065c700fd6d308e81c8be75c4;p=lhc%2Fweb%2Fwiklou.git update mLocalFile in concatenateChunks to make chunk upload work with recent filerepo changes Follow up r104687 --- 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; }