Dump obsolete pass-by-reference on QueryPage::preprocessResults()
[lhc/web/wiklou.git] / includes / SpecialShortpages.php
index 973656d..5aa3638 100644 (file)
@@ -41,7 +41,7 @@ class ShortPagesPage extends QueryPage {
                        WHERE page_namespace=".NS_MAIN." AND page_is_redirect=0";
        }
 
-       function preprocessResults( &$db, &$res ) {
+       function preprocessResults( $db, $res ) {
                # There's no point doing a batch check if we aren't caching results;
                # the page must exist for it to have been pulled out of the table
                if( $this->isCached() ) {