Index: trunk/extensions/FlaggedRevs/specialpages/PendingChanges_body.php |
— | — | @@ -411,14 +411,6 @@ |
412 | 412 | } |
413 | 413 | |
414 | 414 | function getStartBody() { |
415 | | - wfProfileIn( __METHOD__ ); |
416 | | - # Do a link batch query |
417 | | - $lb = new LinkBatch(); |
418 | | - foreach ( $this->mResult as $row ) { |
419 | | - $lb->add( $row->page_namespace, $row->page_title ); |
420 | | - } |
421 | | - $lb->execute(); |
422 | | - wfProfileOut( __METHOD__ ); |
423 | 415 | return '<ul>'; |
424 | 416 | } |
425 | 417 | |
Index: trunk/extensions/FlaggedRevs/specialpages/UnreviewedPages_body.php |
— | — | @@ -132,8 +132,7 @@ |
133 | 133 | } |
134 | 134 | $css = self::getLineClass( $hours, $uw ); |
135 | 135 | $css = $css ? " class='$css'" : ""; |
136 | | - $pageId = isset( $row->page_id ) ? |
137 | | - $row->page_id : $row->qc_value; |
| 136 | + $pageId = isset( $row->page_id ) ? $row->page_id : $row->qc_value; |
138 | 137 | $key = wfMemcKey( 'unreviewedPages', 'underReview', $pageId ); |
139 | 138 | $val = $wgMemc->get( $key ); |
140 | 139 | # Show if a user is looking at this page |
— | — | @@ -361,14 +360,6 @@ |
362 | 361 | } |
363 | 362 | |
364 | 363 | function getStartBody() { |
365 | | - wfProfileIn( __METHOD__ ); |
366 | | - # Do a link batch query |
367 | | - $lb = new LinkBatch(); |
368 | | - foreach ( $this->mResult as $row ) { |
369 | | - $lb->add( $row->page_namespace, $row->page_title ); |
370 | | - } |
371 | | - $lb->execute(); |
372 | | - wfProfileOut( __METHOD__ ); |
373 | 364 | return '<ul>'; |
374 | 365 | } |
375 | 366 | |