From 8e655f1be204a018fc67fd5edfa3bc5366f07867 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 16 Oct 2009 03:53:59 +0000 Subject: [PATCH] Remove some unused globals --- includes/specials/SpecialSearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' ) ); -- 2.20.1