jenkins-bot has submitted this change and it was merged.

Change subject: Make DB rollback() calls use __METHOD__
......................................................................


Make DB rollback() calls use __METHOD__

Change-Id: I92671120aa6023b369f05bf91c59ca094514b150
---
M includes/pages/VoterEligibilityPage.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/pages/VoterEligibilityPage.php 
b/includes/pages/VoterEligibilityPage.php
index d9e72c6..1754f70 100644
--- a/includes/pages/VoterEligibilityPage.php
+++ b/includes/pages/VoterEligibilityPage.php
@@ -861,7 +861,7 @@
 
                                $dbw->commit( __METHOD__ );
                        } catch ( Exception $ex ) {
-                               $dbw->rollback();
+                               $dbw->rollback( __METHOD__ );
                                // If it's for the local wiki, rethrow. 
Otherwise, just log but
                                // still update the jump wikis.
                                if ( $dbname === $localWiki ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/263441
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I92671120aa6023b369f05bf91c59ca094514b150
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/SecurePoll
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to