[Upload] Improvements to async stash uploading.
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 11 Dec 2012 22:29:33 +0000 (14:29 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 11 Dec 2012 22:30:30 +0000 (14:30 -0800)
commit6ef90f24e46664e91290d3c5f6e8638f7c248318
tree58fdbe9e919a4f9f823914c2fc798c2806ef7db0
parent86fe0e06ee8b1c9ccb9a766b0b4013cacd07dc4c
[Upload] Improvements to async stash uploading.

* Added a "stage" field to the status info. This lets clients detect
  if the process failed to even start much more quickly.
* Actually unset the status from $_SESSION if set to false.

Change-Id: I29703f14625b1b10e6413db27a3964324b4679e6
includes/api/ApiUpload.php
includes/upload/AssembleUploadChunks.php
includes/upload/UploadBase.php