From: Chad Horohoe Date: Tue, 4 Mar 2014 21:24:58 +0000 (-0800) Subject: Remove unused $terms parameter X-Git-Tag: 1.31.0-rc.0~16746^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=3476fcc5da3a20817d130a276a64726814c2fe15;p=lhc%2Fweb%2Fwiklou.git Remove unused $terms parameter None of the following extensions use these parameters: - CirrusSearch - MWSearch - SolrSearch - SphinxSearch Change-Id: I9686ca0849f35a3a09bd9996e4c6eac4334a342a --- 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 ''; }