r107360 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107359‎ | r107360 | r107361 >
Date:04:49, 27 December 2011
Author:j
Status:ok
Tags:
Comment:
update mLocalFile in concatenateChunks to make chunk upload
work with recent filerepo changes
Follow up r104687
Modified paths:
  • /trunk/phase3/includes/upload/UploadFromChunks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/upload/UploadFromChunks.php
@@ -107,8 +107,11 @@
108108 if( !$status->isOk() ){
109109 return $status;
110110 }
111 - // Update the mTempPath variable ( for FileUpload or normal Stash to take over )
 111+ // Update the mTempPath and mLocalFile
 112+ // ( for FileUpload or normal Stash to take over )
112113 $this->mTempPath = $tmpPath; // file system path
 114+ $this->mLocalFile = parent::stashFile();
 115+
113116 return $status;
114117 }
115118

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104687Use database to track uploaded chunks and concatenate at the end....j14:56, 30 November 2011

Status & tagging log