Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -785,7 +785,7 @@ |
786 | 786 | $fname = 'FlaggedRevs::autoPromoteUser'; |
787 | 787 | |
788 | 788 | # Do not re-add status if it was previously removed... |
789 | | - $db = wfGetDB( DB_SLAVE ); |
| 789 | + $db = wfGetDB( DB_MASTER ); |
790 | 790 | $dbr = $dbw->selectRow( 'logging', 'log_params', |
791 | 791 | array( |
792 | 792 | 'log_type' => 'rights', |
— | — | @@ -1426,4 +1426,4 @@ |
1427 | 1427 | $wgHooks['BeforeParserMakeImageLinkObj'][] = array( $flaggedRevsModifier, 'parserMakeStableImageLink'); |
1428 | 1428 | // Additional parser versioning |
1429 | 1429 | $wgHooks['ParserAfterTidy'][] = array( $flaggedRevsModifier, 'parserInjectImageTimestamps'); |
1430 | | -$wgHooks['OutputPageParserOutput'][] = array( $flaggedRevsModifier, 'outputInjectImageTimestamps'); |
\ No newline at end of file |
| 1430 | +$wgHooks['OutputPageParserOutput'][] = array( $flaggedRevsModifier, 'outputInjectImageTimestamps'); |