UploadBase: Stop mLocalFile doubling as stashed file
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 17 Aug 2016 18:43:55 +0000 (20:43 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 19 Aug 2016 01:00:30 +0000 (03:00 +0200)
commitec41a9c55962c1f831332b61966076e87a581d3e
tree662598b317f223eda2793e03d8d1e6cc0516c5f1
parent453ada4be7b70332e2e0d296302ec8afa3230c86
UploadBase: Stop mLocalFile doubling as stashed file

"I've a great idea", they said. "You know what would be cool? If I
made this boring getter, getLocalFile(), return something completely
different after the file was stashed. This will be a nice surprise for
someone in the future to discover", they added gleefully.

I am pretty sure everything still works, but I never could get async
upload publishing to work locally, so I'd appreciate some testing.

Change-Id: I11dcf2ed89e4f1dd8ddf081af521da005efdbf39
includes/api/ApiUpload.php
includes/jobqueue/jobs/AssembleUploadChunksJob.php
includes/upload/UploadBase.php
includes/upload/UploadFromChunks.php