Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1047,7 +1047,7 @@ |
1048 | 1048 | $res = $dbr->select( array('revision','flaggedpages'), '1', |
1049 | 1049 | array( 'rev_user' => $user->getID(), 'fp_page_id = rev_page', 'fp_stable >= rev_id' ), |
1050 | 1050 | __METHOD__, |
1051 | | - array( 'USE INDEX' => 'user_timestamp', |
| 1051 | + array( 'USE INDEX' => array('revision' => 'user_timestamp'), |
1052 | 1052 | 'LIMIT' => $wgFlaggedRevsAutopromote['totalCheckedEdits'] ) |
1053 | 1053 | ); |
1054 | 1054 | if( $dbr->numRows($res) < $wgFlaggedRevsAutopromote['totalCheckedEdits'] ) { |