r113503 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113502‎ | r113503 | r113504 >
Date:19:26, 9 March 2012
Author:wikinaut
Status:new
Tags:
Comment:
follow up r113502 - readded method by reedy. Lost despite of using svn up, how can this happen?
Modified paths:
  • /trunk/extensions/AJAXPoll/AJAXPoll_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AJAXPoll/AJAXPoll_body.php
@@ -60,7 +60,7 @@
6161 }*/
6262
6363 $dbw = wfGetDB( DB_MASTER );
64 - $dbw->begin();
 64+ $dbw->begin( __METHOD__ );
6565 /**
6666 * Register poll in the database
6767 */
@@ -83,7 +83,7 @@
8484 __METHOD__
8585 );
8686 }
87 - $dbw->commit();
 87+ $dbw->begin( __METHOD__ );
8888
8989 // Add CSS
9090 $wgOut->addExtensionStyle( $wgScriptPath . '/extensions/AJAXPoll/AJAXPoll.css' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r113504follow up r113503 - correctionwikinaut19:27, 9 March 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113502add tracking category feature (enabled by default). Each page using this exte...wikinaut19:23, 9 March 2012

Status & tagging log