Followup r7876: fix another E_STRICT: kill additional parameter in doQuery() override...
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 22 Dec 2010 14:53:24 +0000 (14:53 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 22 Dec 2010 14:53:24 +0000 (14:53 +0000)
includes/specials/SpecialLinkSearch.php

index c97566f..65d292d 100644 (file)
@@ -171,7 +171,7 @@ class LinkSearchPage extends QueryPage {
        /**
         * Override to check query validity.
         */
-       function doQuery( $offset, $limit, $shownavigation=true ) {
+       function doQuery( $offset, $limit ) {
                global $wgOut;
                list( $this->mMungedQuery,  ) = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt );
                if( $this->mMungedQuery === false ) {
@@ -180,7 +180,7 @@ class LinkSearchPage extends QueryPage {
                        // For debugging
                        // Generates invalid xhtml with patterns that contain --
                        //$wgOut->addHTML( "\n<!-- " . htmlspecialchars( $this->mMungedQuery ) . " -->\n" );
-                       parent::doQuery( $offset, $limit, $shownavigation );
+                       parent::doQuery( $offset, $limit );
                }
        }