upload: move UploadBase status store from $wgMainStash to "db-replicated"
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 6 Jul 2019 06:00:53 +0000 (23:00 -0700)
committerKrinkle <krinklemail@gmail.com>
Sat, 13 Jul 2019 19:56:45 +0000 (19:56 +0000)
commit4a83841fa742eb0b1ebf5ca068a6ba402c63c0f7
tree4f20a3324d21fc1cc8e55c4786c89ce91faa47cf
parent204d0df4d2bb8139109253f3da1df42cd455850c
upload: move UploadBase status store from $wgMainStash to "db-replicated"

This is only triggered for chunked uploads and does not need anything
more special the local objectcache table.

Also add comments and fix numerous IDEA warnings.

Bug: T227376
Change-Id: Ia61855293a265306c5a27a9dfc0139c4d0b04c4f
includes/upload/UploadBase.php
includes/upload/UploadFromChunks.php