r41073 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41072‎ | r41073 | r41074 >
Date:14:49, 20 September 2008
Author:aaron
Status:old
Tags:
Comment:
commit before purge
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php
@@ -724,10 +724,9 @@
725725 if( $wgEnableParserCache )
726726 $parserCache->save( $poutput, $article, $wgUser );
727727 # Purge cache/squids for this page and any page that uses it
 728+ $dbw->commit();
728729 Article::onArticleEdit( $article->getTitle() );
729730
730 - $dbw->commit();
731 -
732731 wfProfileOut( __METHOD__ );
733732 return true;
734733 }
@@ -782,10 +781,9 @@
783782 if( $wgEnableParserCache )
784783 $parserCache->save( $poutput, $article, $wgUser );
785784 # Purge cache/squids for this page and any page that uses it
 785+ $dbw->commit();
786786 Article::onArticleEdit( $article->getTitle() );
787787
788 - $dbw->commit();
789 -
790788 wfProfileOut( __METHOD__ );
791789 return true;
792790 }