Remove hack that changes the class/type of cities

This interferes badly with the details view.

Fixes #1668.
This commit is contained in:
Sarah Hoffmann 2020-02-09 12:14:32 +01:00
parent 9e2fb45783
commit 8531339b4e

View File

@ -907,12 +907,6 @@ class Geocode
$aResult = array_merge($aResult, $aOutlineResult);
}
if ($aResult['extra_place'] == 'city') {
$aResult['class'] = 'place';
$aResult['type'] = 'city';
$aResult['rank_search'] = 16;
}
// Is there an icon set for this type of result?
$aClassInfo = ClassTypes\getInfo($aResult);