X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c02edeb30fcc3d4ff05bc452d0fb97517a507848..d145409d64297ba2830c27bfdfa93496a604ec70:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index 3d6838b6..7ab53d97 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -642,12 +642,6 @@ class Geocode $oValidTokens = new TokenList(); if (!empty($aTokens)) { - $sSQL = 'SELECT word_id, word_token, word, class, type, country_code, operator, search_name_count'; - $sSQL .= ' FROM word '; - $sSQL .= ' WHERE word_token in ('.join(',', $this->oDB->getDBQuotedList($aTokens)).')'; - - Debug::printSQL($sSQL); - $oValidTokens->addTokensFromDB( $this->oDB, $aTokens,