From: Aaron Schulz Date: Fri, 17 Apr 2009 06:14:50 +0000 (+0000) Subject: Tweak for bug 18450, commit the transaction before the purge is sent X-Git-Tag: 1.31.0-rc.0~42117 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=7ea39f0305c59db1e46818278319a0b6e994c05f;p=lhc%2Fweb%2Fwiklou.git Tweak for bug 18450, commit the transaction before the purge is sent --- 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