X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d43f30903c5be80ee9cebc0f45fb661eb4d8b8db..2c909c1f0c7c6e6a176eb5cc15e8d6a45449ebe8:/website/search.php diff --git a/website/search.php b/website/search.php index 48646843..619dec6d 100644 --- a/website/search.php +++ b/website/search.php @@ -15,15 +15,6 @@ $oGeocode = new Nominatim\Geocode($oDB); $aLangPrefOrder = $oParams->getPreferredLanguages(); $oGeocode->setLanguagePreference($aLangPrefOrder); -if (CONST_Search_ReversePlanForAll - || isset($aLangPrefOrder['name:de']) - || isset($aLangPrefOrder['name:ru']) - || isset($aLangPrefOrder['name:ja']) - || isset($aLangPrefOrder['name:pl']) -) { - $oGeocode->setReverseInPlan(true); -} - // Format for output $sOutputFormat = $oParams->getSet('format', array('xml', 'json', 'jsonv2', 'geojson', 'geocodejson'), 'jsonv2'); set_exception_handler_by_format($sOutputFormat);