Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1324,8 +1324,9 @@ |
1325 | 1325 | 'rc_namespace' => $wgContentNamespaces ), |
1326 | 1326 | __METHOD__, |
1327 | 1327 | array( 'USE INDEX' => 'rc_ns_usertext', |
1328 | | - 'LIMIT' => $wgFlaggedRevsAutopromote['recentContent'] ) ); |
1329 | | - if( $dbr->numRows($res) < $wgFlaggedRevsAutopromote['recentContent'] ) { |
| 1328 | + 'LIMIT' => $wgFlaggedRevsAutopromote['recentContentEdits'] ) |
| 1329 | + ); |
| 1330 | + if( $dbr->numRows($res) < $wgFlaggedRevsAutopromote['recentContentEdits'] ) { |
1330 | 1331 | return true; |
1331 | 1332 | } |
1332 | 1333 | } |