Merge "Remove unused $terms parameter"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 4 Mar 2014 23:31:18 +0000 (23:31 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 4 Mar 2014 23:31:18 +0000 (23:31 +0000)
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 '';
        }