r49592 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49591‎ | r49592 | r49593 >
Date:06:14, 17 April 2009
Author:aaron
Status:ok
Tags:
Comment:
Tweak for bug 18450, commit the transaction before the purge is sent
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php
@@ -1442,6 +1442,7 @@
14431443 */
14441444 function updatePage( $title ) {
14451445 $title->invalidateCache();
 1446+ $this->dbw->commit(); // Commit the transaction before the purge is sent
14461447 $title->purgeSquid();
14471448 $title->touchLinks();
14481449 // Extensions that require referencing previous revisions may need this

Status & tagging log