Index: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php |
— | — | @@ -724,10 +724,9 @@ |
725 | 725 | if( $wgEnableParserCache ) |
726 | 726 | $parserCache->save( $poutput, $article, $wgUser ); |
727 | 727 | # Purge cache/squids for this page and any page that uses it |
| 728 | + $dbw->commit(); |
728 | 729 | Article::onArticleEdit( $article->getTitle() ); |
729 | 730 | |
730 | | - $dbw->commit(); |
731 | | - |
732 | 731 | wfProfileOut( __METHOD__ ); |
733 | 732 | return true; |
734 | 733 | } |
— | — | @@ -782,10 +781,9 @@ |
783 | 782 | if( $wgEnableParserCache ) |
784 | 783 | $parserCache->save( $poutput, $article, $wgUser ); |
785 | 784 | # Purge cache/squids for this page and any page that uses it |
| 785 | + $dbw->commit(); |
786 | 786 | Article::onArticleEdit( $article->getTitle() ); |
787 | 787 | |
788 | | - $dbw->commit(); |
789 | | - |
790 | 788 | wfProfileOut( __METHOD__ ); |
791 | 789 | return true; |
792 | 790 | } |