Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -1602,8 +1602,7 @@ |
1603 | 1603 | ) { |
1604 | 1604 | $tables[] = 'flaggedpages'; |
1605 | 1605 | $join_conds['flaggedpages'] = array( 'LEFT JOIN', 'fp_page_id = rc_cur_id' ); |
1606 | | - if( is_array( $select ) ) { // RCL |
1607 | | - $dbr = wfGetDB( DB_SLAVE ); |
| 1606 | + if ( is_array( $select ) ) { // RCL |
1608 | 1607 | $select[] = 'fp_stable'; |
1609 | 1608 | $select[] = 'fp_pending_since'; |
1610 | 1609 | } |