Make non-exception rollback() calls safer
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 21 Jul 2016 01:33:25 +0000 (18:33 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 21 Jul 2016 18:10:43 +0000 (18:10 +0000)
commit6bbbb2744625d7f9d739020665c21768c290cfb2
tree0c4cc91cd99d1e72db00c3a67a71d780ba7014e9
parent90d6ad21e0250f9c83a361f4cc6677bfad7e8638
Make non-exception rollback() calls safer

Use rollbackMasterChanges() instead so that all DBs get reverted.
Otherwise, external DB updates may get committed while related local
DB changes are rolled back.

Change-Id: I74de77f4b12dc15c0473c272d090caeeb97d6983
includes/FileDeleteForm.php
includes/revisiondelete/RevDelList.php