Dump obsolete pass-by-reference on QueryPage::preprocessResults()
[lhc/web/wiklou.git] / includes / SpecialNewpages.php
index 9089bb9..1c3bee8 100644 (file)
@@ -180,7 +180,7 @@ class NewPagesPage extends QueryPage {
                        WHERE rc_cur_id=page_id AND $condstext";
        }
 
-       function preprocessResults( &$db, &$res ) {
+       function preprocessResults( $db, $res ) {
                # Do a batch existence check on the user and talk pages
                $linkBatch = new LinkBatch();
                while( $row = $db->fetchObject( $res ) ) {