From 8531339b4eb3dc8244551abf64ffe217868a7167 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 9 Feb 2020 12:14:32 +0100 Subject: [PATCH] Remove hack that changes the class/type of cities This interferes badly with the details view. Fixes #1668. --- lib/Geocode.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/Geocode.php b/lib/Geocode.php index 7a9f5ad4..f45b2caa 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -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); -- 2.39.5