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