From a4d5ad57b346254aa6d5a0edd3e89fc986ef94ea Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 22 Dec 2010 14:53:24 +0000 Subject: [PATCH] Followup r7876: fix another E_STRICT: kill additional parameter in doQuery() override; I guess doQuery() must've had that third parameter before but doesn't have it anymore --- includes/specials/SpecialLinkSearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialLinkSearch.php b/includes/specials/SpecialLinkSearch.php index c97566f09e..65d292d2cc 100644 --- a/includes/specials/SpecialLinkSearch.php +++ b/includes/specials/SpecialLinkSearch.php @@ -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\n" ); - parent::doQuery( $offset, $limit, $shownavigation ); + parent::doQuery( $offset, $limit ); } } -- 2.20.1