X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/204fe20b4b660bdf34953b87763f9f7d06525a28..10143e0ac712913d0c33b5df4a4371e7ef849f06:/lib-php/website/details.php?ds=sidebyside diff --git a/lib-php/website/details.php b/lib-php/website/details.php index bd7df12c..55a088d1 100644 --- a/lib-php/website/details.php +++ b/lib-php/website/details.php @@ -106,11 +106,6 @@ if ($iParentPlaceID) $iPlaceID = $iParentPlaceID; $iParentPlaceID = $oDB->getOne('SELECT parent_place_id FROM location_postcode WHERE place_id = '.$iPlaceID); if ($iParentPlaceID) $iPlaceID = $iParentPlaceID; -if (CONST_Use_Aux_Location_data) { - $iParentPlaceID = $oDB->getOne('SELECT parent_place_id FROM location_property_aux WHERE place_id = '.$iPlaceID); - if ($iParentPlaceID) $iPlaceID = $iParentPlaceID; -} - $hLog = logStart($oDB, 'details', $_SERVER['QUERY_STRING'], $aLangPrefOrder); // Get the details for this point