From 3476fcc5da3a20817d130a276a64726814c2fe15 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 4 Mar 2014 13:24:58 -0800 Subject: [PATCH] Remove unused $terms parameter None of the following extensions use these parameters: - CirrusSearch - MWSearch - SolrSearch - SphinxSearch Change-Id: I9686ca0849f35a3a09bd9996e4c6eac4334a342a --- includes/search/SearchEngine.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php index debf01b4aa..eea723beab 100644 --- a/includes/search/SearchEngine.php +++ b/includes/search/SearchEngine.php @@ -896,18 +896,16 @@ class SearchResult { } /** - * @param array $terms terms to highlight * @return String: highlighted title, '' if not supported */ - function getTitleSnippet( $terms ) { + function getTitleSnippet() { return ''; } /** - * @param array $terms terms to highlight * @return String: highlighted redirect name (redirect to this page), '' if none or not supported */ - function getRedirectSnippet( $terms ) { + function getRedirectSnippet() { return ''; } -- 2.20.1