UploadStash::removeFileNoAuth shouldn't need auth
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 29 Oct 2013 15:56:35 +0000 (11:56 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 29 Oct 2013 15:58:17 +0000 (11:58 -0400)
commitd4b250ad380b024620b724c9f9485e79ea712798
tree228643a8bbf6778815e61c97f19cb89e4304518c
parent3331c09b31d90aa48b081a2d42a87e710a6b8a81
UploadStash::removeFileNoAuth shouldn't need auth

UploadStash::getFile has a "noAuth" parameter, which should be set true
when this is called from UploadStash::removeFileNoAuth.

Callers should already be doing their own auth checking, or calling
UploadStash::removeFile.

Bug: 56298
Change-Id: Ic70c4e2bc6df5cb9b139a3631766f8ff0ec4ef02
includes/upload/UploadStash.php