Dump obsolete pass-by-reference on QueryPage::preprocessResults()
[lhc/web/wiklou.git] / includes / SpecialMostlinkedcategories.php
index d0a99b3..c357c8f 100644 (file)
@@ -35,7 +35,7 @@ class MostlinkedCategoriesPage extends QueryPage {
        /**
         * Fetch user page links and cache their existence
         */
-       function preprocessResults( &$db, &$res ) {
+       function preprocessResults( $db, $res ) {
                $batch = new LinkBatch;
                while ( $row = $db->fetchObject( $res ) )
                        $batch->addObj( Title::makeTitleSafe( $row->namespace, $row->title ) );