From 7ea39f0305c59db1e46818278319a0b6e994c05f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 17 Apr 2009 06:14:50 +0000 Subject: [PATCH] Tweak for bug 18450, commit the transaction before the purge is sent --- includes/specials/SpecialRevisiondelete.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 304240b4bb..5857bb8e10 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -1442,6 +1442,7 @@ class RevisionDeleter { */ function updatePage( $title ) { $title->invalidateCache(); + $this->dbw->commit(); // Commit the transaction before the purge is sent $title->purgeSquid(); $title->touchLinks(); // Extensions that require referencing previous revisions may need this -- 2.20.1