Merge pull request #1966 from lonvia/remove-dead-code

remove dead code
This commit is contained in:
Sarah Hoffmann 2020-09-21 10:59:58 +02:00 committed by GitHub
commit 915d362b11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,