Dump obsolete pass-by-reference on QueryPage::preprocessResults()
[lhc/web/wiklou.git] / includes / SpecialWantedpages.php
index 5fc45a8..1fb8cdb 100644 (file)
@@ -51,7 +51,7 @@ class WantedPagesPage extends QueryPage {
        /**
         * Cache page existence for performance
         */
-       function preprocessResults( &$db, &$res ) {
+       function preprocessResults( $db, $res ) {
                $batch = new LinkBatch;
                while ( $row = $db->fetchObject( $res ) )
                        $batch->addObj( Title::makeTitleSafe( $row->namespace, $row->title ) );