r61373 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61372‎ | r61373 | r61374 >
Date:17:57, 22 January 2010
Author:maxsem
Status:ok
Tags:
Comment:
Removed deadbeef from SearchSqlite
Modified paths:
  • /trunk/phase3/includes/search/SearchSqlite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/search/SearchSqlite.php
@@ -234,15 +234,6 @@
235235 }
236236
237237 /**
238 - * Does not do anything for generic search engine
239 - * subclasses may define this though
240 - * @return String
241 - */
242 - function queryRanking( $filteredTerm, $fulltext ) {
243 - return '';
244 - }
245 -
246 - /**
247238 * Construct the full SQL query to do the search.
248239 * The guts shoulds be constructed in queryMain()
249240 * @param $filteredTerm String
@@ -252,8 +243,7 @@
253244 return $this->limitResult(
254245 $this->queryMain( $filteredTerm, $fulltext ) . ' ' .
255246 $this->queryRedirect() . ' ' .
256 - $this->queryNamespaces() . ' ' .
257 - $this->queryRanking( $filteredTerm, $fulltext )
 247+ $this->queryNamespaces()
258248 );
259249 }
260250

Status & tagging log