Remove unused $terms parameter
authorChad Horohoe <chadh@wikimedia.org>
Tue, 4 Mar 2014 21:24:58 +0000 (13:24 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Tue, 4 Mar 2014 21:26:12 +0000 (13:26 -0800)
None of the following extensions use these parameters:
- CirrusSearch
- MWSearch
- SolrSearch
- SphinxSearch

Change-Id: I9686ca0849f35a3a09bd9996e4c6eac4334a342a

includes/search/SearchEngine.php

index debf01b..eea723b 100644 (file)
@@ -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 '';
        }