Fixes and cleanups to FileOpBatch
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 3 Feb 2014 23:06:41 +0000 (15:06 -0800)
committerTim Starling <tstarling@wikimedia.org>
Mon, 3 Feb 2014 23:11:44 +0000 (23:11 +0000)
commit4db00dc1847f40cddfe454158ab7023809704d8f
tree16e1adaeb5a31bb4f2f1d33b6878f9c24a9b2940
parentcba32613f5e838a9ea106733135ac15b54bafa9e
Fixes and cleanups to FileOpBatch

* Fixed bug where operations that failed after precheck() would
  not properly update the Status. This could cause failed ops to
  be treated as successful.
* Removed special casing for 1-sized batches, this was mostly
  for Swift and is irrelevant after it was rewritten.
* Removed unused return value and fixed the docs

bug: 60318
Change-Id: I7f12ebf711bc196313745f943070f8bdb6335964
includes/filebackend/FileOpBatch.php