r23837 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23836‎ | r23837 | r23838 >
Date:06:56, 7 July 2007
Author:amidaniel
Status:old
Tags:
Comment:
Never mind -- back to the master again.
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -785,7 +785,7 @@
786786 $fname = 'FlaggedRevs::autoPromoteUser';
787787
788788 # Do not re-add status if it was previously removed...
789 - $db = wfGetDB( DB_SLAVE );
 789+ $db = wfGetDB( DB_MASTER );
790790 $dbr = $dbw->selectRow( 'logging', 'log_params',
791791 array(
792792 'log_type' => 'rights',
@@ -1426,4 +1426,4 @@
14271427 $wgHooks['BeforeParserMakeImageLinkObj'][] = array( $flaggedRevsModifier, 'parserMakeStableImageLink');
14281428 // Additional parser versioning
14291429 $wgHooks['ParserAfterTidy'][] = array( $flaggedRevsModifier, 'parserInjectImageTimestamps');
1430 -$wgHooks['OutputPageParserOutput'][] = array( $flaggedRevsModifier, 'outputInjectImageTimestamps');
\ No newline at end of file
 1430+$wgHooks['OutputPageParserOutput'][] = array( $flaggedRevsModifier, 'outputInjectImageTimestamps');

Status & tagging log