From: Chad Horohoe Date: Fri, 16 Oct 2009 03:53:59 +0000 (+0000) Subject: Remove some unused globals X-Git-Tag: 1.31.0-rc.0~39264 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=8e655f1be204a018fc67fd5edfa3bc5366f07867;p=lhc%2Fweb%2Fwiklou.git Remove some unused globals --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index fce4b5f0fb..7fb0f0b506 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -29,7 +29,7 @@ * @param $par String: (default '') */ function wfSpecialSearch( $par = '' ) { - global $wgRequest, $wgUser, $wgUseOldSearchUI; + global $wgRequest, $wgUser; // Strip underscores from title parameter; most of the time we'll want // text form here. But don't strip underscores from actual text params! $titleParam = str_replace( '_', ' ', $par ); @@ -866,7 +866,7 @@ class SpecialSearch { } protected function formHeader( $term, $resultsShown, $totalNum ) { - global $wgContLang, $wgCanonicalNamespaceNames, $wgLang; + global $wgContLang, $wgLang; $out = Xml::openElement('div', array( 'class' => 'mw-search-formheader' ) );