From: Max Semenik Date: Fri, 22 Jan 2010 17:57:55 +0000 (+0000) Subject: Removed deadbeef from SearchSqlite X-Git-Tag: 1.31.0-rc.0~38163 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=a14625a6f4a0ddcdb348d3141dc7d627e80f4b66;p=lhc%2Fweb%2Fwiklou.git Removed deadbeef from SearchSqlite --- diff --git a/includes/search/SearchSqlite.php b/includes/search/SearchSqlite.php index be5d10ac10..53c093e7f7 100644 --- a/includes/search/SearchSqlite.php +++ b/includes/search/SearchSqlite.php @@ -233,15 +233,6 @@ class SearchSqlite extends SearchEngine { return $this->db->limitResult( $sql, $this->limit, $this->offset ); } - /** - * Does not do anything for generic search engine - * subclasses may define this though - * @return String - */ - function queryRanking( $filteredTerm, $fulltext ) { - return ''; - } - /** * Construct the full SQL query to do the search. * The guts shoulds be constructed in queryMain() @@ -252,8 +243,7 @@ class SearchSqlite extends SearchEngine { return $this->limitResult( $this->queryMain( $filteredTerm, $fulltext ) . ' ' . $this->queryRedirect() . ' ' . - $this->queryNamespaces() . ' ' . - $this->queryRanking( $filteredTerm, $fulltext ) + $this->queryNamespaces() ); }