]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
Merge pull request #1675 from lonvia/refresh-connection-while-indexing
[nominatim.git] / lib / Geocode.php
index 7a9f5ad4f2799531c726712dd302612c99dc455f..f45b2caae3349fa256a114dd61a501e0c2778bba 100644 (file)
@@ -907,12 +907,6 @@ class Geocode
                 $aResult = array_merge($aResult, $aOutlineResult);
             }
 
                 $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);
 
             // Is there an icon set for this type of result?
             $aClassInfo = ClassTypes\getInfo($aResult);