dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
079ae75
)
update mLocalFile in concatenateChunks to make chunk upload
author
Jan Gerber
<j@users.mediawiki.org>
Tue, 27 Dec 2011 04:49:08 +0000
(
04:49
+0000)
committer
Jan Gerber
<j@users.mediawiki.org>
Tue, 27 Dec 2011 04:49:08 +0000
(
04:49
+0000)
work with recent filerepo changes
Follow up r104687
includes/upload/UploadFromChunks.php
patch
|
blob
|
history
diff --git
a/includes/upload/UploadFromChunks.php
b/includes/upload/UploadFromChunks.php
index
651b2a3
..
993446b
100644
(file)
--- 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;
}