Remove pointless pass-by-reference
authorChad Horohoe <chadh@wikimedia.org>
Mon, 4 Nov 2013 15:09:35 +0000 (07:09 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Mon, 4 Nov 2013 15:11:00 +0000 (07:11 -0800)
Change-Id: I80541a627af89f4f84734014c0e211c322e87d45

includes/specials/SpecialSearch.php

index 8609c74..d5a6b29 100644 (file)
@@ -738,7 +738,7 @@ class SpecialSearch extends SpecialPage {
         *
         * @return string
         */
-       protected function showInterwiki( &$matches, $query ) {
+       protected function showInterwiki( $matches, $query ) {
                global $wgContLang;
                wfProfileIn( __METHOD__ );
                $terms = $wgContLang->convertForSearchResult( $matches->termMatches() );