Revert "Remove mismatched COMMIT from FileDeleteForm"
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Oct 2015 19:06:26 +0000 (19:06 +0000)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 6 Oct 2015 19:06:26 +0000 (19:06 +0000)
commit193145f813dd4ac7406fae5e4ba887a698211178
tree30704efb5f6f7b4f3faa24fe6f9a0875622a0e53
parent985a8f721459ebea1dc5a0daa178295eec8cf444
Revert "Remove mismatched COMMIT from FileDeleteForm"

The doDeleteArticleReal() call does BEGIN but not COMMIT
and the LocalFile::delete() does no trx commands because
trxLevel() > 0, so the COMMIT here is needed as things are.

This reverts commit 985a8f721459ebea1dc5a0daa178295eec8cf444.

Change-Id: I72529965ae9fe41641f22af12a40ec13ff65a2c1
includes/FileDeleteForm.php