Removed deadbeef from SearchSqlite
authorMax Semenik <maxsem@users.mediawiki.org>
Fri, 22 Jan 2010 17:57:55 +0000 (17:57 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Fri, 22 Jan 2010 17:57:55 +0000 (17:57 +0000)
includes/search/SearchSqlite.php

index be5d10a..53c093e 100644 (file)
@@ -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()
                );
        }